From 9cae203b91d2fbac759077b66cae0eb932161b27 Mon Sep 17 00:00:00 2001 From: James McGlashan Date: Sun, 11 Dec 2011 04:00:10 +1100 Subject: [PATCH] don\'t export stright to PAGER, use the existing less or fallback to less. --- lib/misc.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/misc.zsh b/lib/misc.zsh index 88732e664..7015b5686 100644 --- a/lib/misc.zsh +++ b/lib/misc.zsh @@ -9,5 +9,5 @@ bindkey "^[m" copy-prev-shell-word setopt long_list_jobs ## pager -export PAGER=less +export PAGER=${PAGER:-$commands[less]} export LC_CTYPE=$LANG