.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 5934957..0e3ffdd 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
          ;;