diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-18 10:56:33 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-18 10:56:33 +0000 |
| commit | 5d8cded9872522196b85d6b3696e3efe159cf6b0 (patch) | |
| tree | 75401a15c01f69d508e8923d2d1d9a9d860e5ced /Functions/Misc | |
| parent | zsh-workers/7923 (diff) | |
| download | zsh-5d8cded9872522196b85d6b3696e3efe159cf6b0.tar zsh-5d8cded9872522196b85d6b3696e3efe159cf6b0.tar.gz zsh-5d8cded9872522196b85d6b3696e3efe159cf6b0.tar.bz2 zsh-5d8cded9872522196b85d6b3696e3efe159cf6b0.tar.lz zsh-5d8cded9872522196b85d6b3696e3efe159cf6b0.tar.xz zsh-5d8cded9872522196b85d6b3696e3efe159cf6b0.tar.zst zsh-5d8cded9872522196b85d6b3696e3efe159cf6b0.zip | |
manual/7925
Diffstat (limited to 'Functions/Misc')
| -rw-r--r-- | Functions/Misc/run-help | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Functions/Misc/run-help b/Functions/Misc/run-help index a8109e3ea..c137b7e4e 100644 --- a/Functions/Misc/run-help +++ b/Functions/Misc/run-help @@ -45,13 +45,23 @@ do [[ ${what[(w)6]:t} != ${what[(w)1]} ]] && run-help ${what[(w)6]:t} ;; (*( is a * function)) - builtin functions ${what[(w)1]} | ${=PAGER:-more} - ;; + case ${what[(w)1]} in + (comp*) man zshcompsys;; + (zf*) man zshftpsys;; + (*) builtin functions ${what[(w)1]} | ${=PAGER:-more};; + esac;; (*( is a * builtin)) case ${what[(w)1]} in (compctl) man zshcompctl;; - (bindkey) man zshzle;; + (comp*) man zshcompwid;; + (bindkey|vared|zle) man zshzle;; (*setopt) man zshoptions;; + (cap|getcap|setcap) ;& + (clone) ;& + (ln|mkdir|mv|rm|rmdir|sync) ;& + (sched) ;& + (stat) man zshmodules;; + (zftp) man zshftpsys;; (*) man zshbuiltins;; esac ;; |
