e10552b4038e98eecf789eb9eaecf6e8318c474b
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Merge pull request #1354 from F30/master
Set the '-R' option for less not in $PAGER, but as $LESS
Diff
1diff --git a/lib/misc.zsh b/lib/misc.zsh
2index 0f7e7e9254959f01d6186c16f147764e9645e8b2..a8678b8ecd0185d66500e79bab39224676def2a6 100644
3--- a/lib/misc.zsh
4+++ b/lib/misc.zsh
5@@ -9,5 +9,7 @@ bindkey "^[m" copy-prev-shell-word
6 setopt long_list_jobs
7
8 ## pager
9-export PAGER="less -R"
10+export PAGER="less"
11+export LESS="-R"
12+
13 export LC_CTYPE=$LANG