zsh-workers
 help / color / mirror / code / Atom feed
* Writing multi-part command completion functions
@ 2000-10-26 15:12 Felix Rosencrantz
  2000-10-26 16:18 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Rosencrantz @ 2000-10-26 15:12 UTC (permalink / raw)
  To: zsh-workers

Is there a recommended way to deal with multi-part commands.  For
example, many of  the source control systems cvs, rcs, sccs, and prcs
all have a main command, with the first argument typically being a
sub-command.  Many times the sub-command can be abbreviated.

There are already some completion functions that handle commands like
this (e.g. _cvs).  Is there a preferred way to do this? Is there one
that provides a better example of how to structure such a completion
function(s)?  Would it make sense to add support to make it easier to write
such a function?

Thanks
-FR.


__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/


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

end of thread, other threads:[~2000-10-26 16:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-26 15:12 Writing multi-part command completion functions Felix Rosencrantz
2000-10-26 16:18 ` 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).