Browse Source

Set the '-R' option for less not in $PAGER, but as $LESS.

Felix Dreissig 12 years ago
parent
commit
daa6ecebc1
1 changed files with 3 additions and 1 deletions
  1. 3 1
      lib/misc.zsh

+ 3 - 1
lib/misc.zsh

@@ -9,5 +9,7 @@ bindkey "^[m" copy-prev-shell-word
 setopt long_list_jobs
 
 ## pager
-export PAGER="less -R"
+export PAGER="less"
+export LESS="-R"
+
 export LC_CTYPE=$LANG