21 lines
526 B
Diff
21 lines
526 B
Diff
|
--- Functions/Misc/run-help
|
||
|
+++ Functions/Misc/run-help
|
||
|
@@ -30,7 +30,7 @@
|
||
|
return 0
|
||
|
elif [[ -n "${HELPDIR:-}" && -r $HELPDIR/$1 && $1 != compctl ]]
|
||
|
then
|
||
|
- ${=PAGER:-more} $HELPDIR/$1
|
||
|
+ ${=PAGER:-less -M} $HELPDIR/$1
|
||
|
return $?
|
||
|
fi
|
||
|
|
||
|
@@ -64,7 +64,7 @@
|
||
|
(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
|