From 34a57437894628c29fac0c38c20fd54a21e3c833 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Sat, 17 Mar 2012 10:56:56 -0400 Subject: [PATCH] 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. --- environment.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.zsh b/environment.zsh index 5618e1b..caa97a3 100644 --- a/environment.zsh +++ b/environment.zsh @@ -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>&-'