Hendrik Vogelsang
f1f66c81d9
reviewed okay OBS-URL: https://build.opensuse.org/request/show/56833 OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=42
21 lines
539 B
Diff
21 lines
539 B
Diff
--- Functions/Misc/run-help.orig
|
|
+++ Functions/Misc/run-help
|
|
@@ -29,7 +29,7 @@ then
|
|
return 0
|
|
elif [[ -n "${HELPDIR:-}" && -r $HELPDIR/$1 && $1 != compctl ]]
|
|
then
|
|
- ${=PAGER:-more} $HELPDIR/$1
|
|
+ ${=PAGER:-less -M} $HELPDIR/$1
|
|
return $?
|
|
fi
|
|
|
|
@@ -65,7 +65,7 @@ do
|
|
(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
|