summaryrefslogtreecommitdiffstats
path: root/Functions/Misc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-18 10:56:33 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-18 10:56:33 +0000
commit5d8cded9872522196b85d6b3696e3efe159cf6b0 (patch)
tree75401a15c01f69d508e8923d2d1d9a9d860e5ced /Functions/Misc
parentzsh-workers/7923 (diff)
downloadzsh-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-help16
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
;;