chiark / gitweb /
bash_profile: Modify LESS settings.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 10 Feb 2007 21:47:56 +0000 (21:47 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 10 Feb 2007 21:47:56 +0000 (21:47 +0000)
In particular, I agree that -F (quit if less than a page) is useful,
particularly with Git, and then the terminal-init string is a nuisance,
so kill that with -X.

bash_profile

index 1f0306c22678f8921f66449bdfefcda2ae4e1f90..db97ecd72da7a269877481ad7e48204800993fd6 100644 (file)
@@ -135,7 +135,7 @@ export SVNROOT=`__mdw_conf svn-root`
 export BECOME="--preserve-environment"
 
 export PAGER=`type -p less` METAMAIL_PAGER=`type -p less`
 export BECOME="--preserve-environment"
 
 export PAGER=`type -p less` METAMAIL_PAGER=`type -p less`
-export LESS="-iqgRh1"
+export LESS="-iqgRh1FX"
 export LESSOPEN="|lesspipe.sh %s"
 export LESSCHARSET=latin1
 # export MAKEFLAGS="-j4"
 export LESSOPEN="|lesspipe.sh %s"
 export LESSCHARSET=latin1
 # export MAKEFLAGS="-j4"