2011-02-11 11:49:56 +01:00
|
|
|
--- Functions/Misc/run-help.orig
|
2009-08-19 00:11:24 +02:00
|
|
|
+++ Functions/Misc/run-help
|
2011-02-11 11:49:56 +01:00
|
|
|
@@ -29,7 +29,7 @@ then
|
2009-08-19 00:11:24 +02:00
|
|
|
return 0
|
|
|
|
elif [[ -n "${HELPDIR:-}" && -r $HELPDIR/$1 && $1 != compctl ]]
|
|
|
|
then
|
|
|
|
- ${=PAGER:-more} $HELPDIR/$1
|
|
|
|
+ ${=PAGER:-less -M} $HELPDIR/$1
|
|
|
|
return $?
|
|
|
|
fi
|
|
|
|
|
2011-02-11 11:49:56 +01:00
|
|
|
@@ -65,7 +65,7 @@ do
|
2009-08-19 00:11:24 +02:00
|
|
|
(comp*) man zshcompsys;;
|
|
|
|
(zf*) man zshftpsys;;
|
|
|
|
(run-help) man zshcontrib;;
|
|
|
|
- (*) builtin functions ${what[(w)1]} | ${=PAGER:-more};;
|
|
|
|
+ (*) builtin functions ${what[(w)1]} | ${=PAGER:-less -M};;
|
|
|
|
esac;;
|
|
|
|
(*( is a * builtin))
|
|
|
|
case ${what[(w)1]} in
|