Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Writing multi-part command completion functions
- X-seq: zsh-workers 13092
- From: Felix Rosencrantz <f_rosencrantz@xxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Writing multi-part command completion functions
- Date: Thu, 26 Oct 2000 08:12:29 -0700 (PDT)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author