]> git.phdru.name Git - dotfiles.git/commitdiff
.profile: remove options -F and -X from LESS
authorOleg Broytman <phd@phdru.name>
Tue, 29 Mar 2016 14:23:35 +0000 (17:23 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 29 Mar 2016 14:23:35 +0000 (17:23 +0300)
Option -F is especially painful when `less' is called from a TUI program
like `mutt' with a short input - less immediately exits and the TUI
program redraws the screen.

.profile

index 5934957dc63e48c703113162636e2e64517fa8a4..0e3ffdd34fb2e413fa64487bb00306e04914b6b7 100644 (file)
--- a/.profile
+++ b/.profile
@@ -85,7 +85,7 @@ if [ -t 0 ] ; then
 
    if [ -n "$HAS_LESS" ]; then
       PAGER=less
-      LESS="FRXgimq"
+      LESS="Rgimq"
       case "$LC_CTYPE" in
          *UTF-8) LESSCHARSET=utf-8
          ;;