From 5d8cded9872522196b85d6b3696e3efe159cf6b0 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Sat, 18 Sep 1999 10:56:33 +0000 Subject: manual/7925 --- Functions/Misc/run-help | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'Functions/Misc') 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 ;; -- cgit 1.4.1