From: Andy Spiegl <zsh.Andy@spiegl.de>
To: zsh-users@sunsite.dk
Subject: simple completion example?
Date: Tue, 2 Aug 2005 20:01:58 +0200 [thread overview]
Message-ID: <20050802180158.GA10402@spiegl.de> (raw)
Hi, I am looking for an easy example of a completion script so that I can
start understanding and programming a little bit more complicated one for a
perl script. It that takes the usual --help, --debug, --dir options
but also needs a command (view, dump, export, demux, ...) and then one or
more files (*.crid) from a directory.
I tried to start with _apt because it also uses "commands" but it's way to
complicated for a beginner like me. :-)
If anyone is interested the skript is here:
http://spiegl.de/andy/shareware/gigaset
Thanks,
Andy.
--
o _ _ _
------- __o __o /\_ _ \\o (_)\__/o (_) -o)
----- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ /\\
---- (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ _\_v
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Cats aren't dirty, they're just covered with cat spit."
next reply other threads:[~2005-08-02 18:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-02 18:01 Andy Spiegl [this message]
2005-08-03 8:48 ` Oliver Kiddle
2005-08-03 10:10 ` Andy Spiegl
2005-08-03 10:19 ` Oliver Kiddle
2005-08-05 15:40 ` simple completion example? (aptitude completion doesn't work) Andy Spiegl
2005-08-05 17:17 ` Oliver Kiddle
2005-08-05 19:36 ` Andy Spiegl
[not found] ` <30056.1123491980@trentino.groupinfra.com>
2005-08-09 13:29 ` Andy Spiegl
2005-08-10 11:39 ` Mikael Magnusson
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=20050802180158.GA10402@spiegl.de \
--to=zsh.andy@spiegl.de \
--cc=zsh-users@sunsite.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).