diff options
Diffstat (limited to 'debian/patches/run-help.patch')
-rw-r--r-- | debian/patches/run-help.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/run-help.patch b/debian/patches/run-help.patch new file mode 100644 index 0000000..cb61b62 --- /dev/null +++ b/debian/patches/run-help.patch @@ -0,0 +1,31 @@ +Index: zsh-new/Functions/Misc/run-help +=================================================================== +--- zsh-new.orig/Functions/Misc/run-help 2012-02-23 21:39:30.000000000 +0000 ++++ zsh-new/Functions/Misc/run-help 2012-06-01 09:39:23.201633945 +0000 +@@ -10,7 +10,7 @@ + + emulate -RL zsh + +-local HELPDIR="${HELPDIR:-/usr/share/zsh/$ZSH_VERSION/help}" ++local HELPDIR="${HELPDIR:-/usr/share/zsh/help}" + + [[ $1 == "." ]] && 1="dot" + [[ $1 == ":" ]] && 1="colon" +@@ -29,7 +29,7 @@ + return 0 + elif [[ -n "${HELPDIR:-}" && -r $HELPDIR/$1 && $1 != compctl ]] + then +- ${=PAGER:-more} $HELPDIR/$1 ++ ${=PAGER:-/usr/bin/pager} $HELPDIR/$1 + return $? + fi + +@@ -65,7 +65,7 @@ + (comp*) man zshcompsys;; + (zf*) man zshftpsys;; + (run-help) man zshcontrib;; +- (*) builtin functions ${what[(w)1]} | ${=PAGER:-more};; ++ (*) builtin functions ${what[(w)1]} | ${=PAGER:-/usr/bin/pager};; + esac;; + (*( is a * builtin)) + case ${what[(w)1]} in |