changeset 488:e3648f0482e5

Automatically exit less when the file is less than one screenful.
author edogawaconan <me@myconan.net>
date Fri, 08 Nov 2013 14:31:53 +0900
parents ec49852111cb
children 6ef30abe29f9
files rc/bashrc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rc/bashrc	Fri Nov 08 14:29:53 2013 +0900
+++ b/rc/bashrc	Fri Nov 08 14:31:53 2013 +0900
@@ -240,7 +240,7 @@
 
 if command -v less > /dev/null 2>&1; then
   export PAGER=less
-  export LESS='-MRXginsz-2'
+  export LESS=-FMRXginsz-2
 fi
 
 # Test if we have GNU rm prefixed by g (esp if on non-GNU system).