zsh-workers
 help / color / mirror / code / Atom feed
* run-help confused by whence output
@ 1999-09-15 17:40 Clint Adams
  1999-09-18  6:16 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Clint Adams @ 1999-09-15 17:40 UTC (permalink / raw)
  To: zsh-workers

run-help compadd brings up zshbuiltins(1) when compadd is described
in zshcompwid(1).

Perhaps zshbuiltins should have an entry for compadd referring
the reader to the compwid page.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: run-help confused by whence output
  1999-09-15 17:40 run-help confused by whence output Clint Adams
@ 1999-09-18  6:16 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 1999-09-18  6:16 UTC (permalink / raw)
  To: Clint Adams, zsh-workers

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-09-18  6:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-15 17:40 run-help confused by whence output Clint Adams
1999-09-18  6:16 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).