Do not disable less' alternate screen, close #35

While the '-X' switch allows the user to quit less with the relevant
portion of a man page still visible, it breaks mouse scrolling.
This commit is contained in:
Sorin Ionescu 2012-03-17 10:56:56 -04:00
parent f3a0366438
commit 34a5743789

View File

@ -93,7 +93,7 @@ fi
export LESSCHARSET="UTF-8"
export LESSHISTFILE='-'
export LESSEDIT='vim ?lm+%lm. %f'
export LESS='-F -g -i -M -R -S -w -X -z-4'
export LESS='-F -g -i -M -R -S -w -z-4'
if (( $+commands[lesspipe.sh] )); then
export LESSOPEN='| /usr/bin/env lesspipe.sh %s 2>&-'