From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26240 invoked from network); 18 Sep 1999 06:16:55 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Sep 1999 06:16:55 -0000 Received: (qmail 3590 invoked by alias); 18 Sep 1999 06:16:46 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7925 Received: (qmail 3583 invoked from network); 18 Sep 1999 06:16:44 -0000 From: "Bart Schaefer" Message-Id: <990918061626.ZM32739@candle.brasslantern.com> Date: Sat, 18 Sep 1999 06:16:26 +0000 In-Reply-To: <19990915134019.A13983@dman.com> Comments: In reply to Clint Adams "run-help confused by whence output" (Sep 15, 1:40pm) References: <19990915134019.A13983@dman.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Clint Adams , zsh-workers@sunsite.auc.dk Subject: Re: run-help confused by whence output MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 15, 1:40pm, Clint Adams wrote: } Subject: run-help confused by whence output } } run-help compadd brings up zshbuiltins(1) when compadd is described } in zshcompwid(1). This should help. There are probably more builtins scattered in other manual pages that I've missed, but I think this catches most of them. I suppose it's possible that using comp* and zf* is too generic, but ... Index: run-help =================================================================== @@ -45,13 +45,23 @@ [[ ${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 ;; -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com