81b5c7e539
Copy from shells/zsh based on submit request 18109 from user hennevogel OBS-URL: https://build.opensuse.org/request/show/18109 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zsh?expand=0&rev=12
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
|