From: Felix Rosencrantz <f_rosencrantz@yahoo.com>
To: zsh-workers <zsh-workers@sunsite.auc.dk>
Subject: Writing multi-part command completion functions
Date: Thu, 26 Oct 2000 08:12:29 -0700 (PDT) [thread overview]
Message-ID: <20001026151229.1321.qmail@web1103.mail.yahoo.com> (raw)
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/
next reply other threads:[~2000-10-26 15:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-26 15:12 Felix Rosencrantz [this message]
2000-10-26 16:18 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20001026151229.1321.qmail@web1103.mail.yahoo.com \
--to=f_rosencrantz@yahoo.com \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).