changeset 400:657f787fbae8

Merge remote-tracking branch 'origin/master'
author Edho Arief <edho@myconan.net>
date Tue, 04 Sep 2012 10:23:37 +0700
parents c01d272af466 (diff) 0051e1fccb40 (current diff)
children 06e1821eacf5
files rc/bashrc
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rc/bashrc	Mon Aug 27 18:04:31 2012 +0700
+++ b/rc/bashrc	Tue Sep 04 10:23:37 2012 +0700
@@ -214,8 +214,8 @@
 fi
 
 if command -v less > /dev/null 2>&1; then
-  alias less="less -Rins"
-  export PAGER="less -Rins"
+  export PAGER=less
+  export LESS='-MRXgij15$nsz-2'
 fi
 
 # Test if we have GNU rm prefixed by g (esp if on non-GNU system).
--- a/rc/cshrc	Mon Aug 27 18:04:31 2012 +0700
+++ b/rc/cshrc	Tue Sep 04 10:23:37 2012 +0700
@@ -30,6 +30,7 @@
 
 setenv EDITOR vi
 setenv PAGER less
+setenv LESS '-MRXgij15$nsz-2'
 setenv BLOCKSIZE K
 setenv LC_COLLATE C
 setenv LANG en_US.UTF-8