Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
_arguments: repeated option with multiple optargs
- X-seq: zsh-users 10739
- From: Roman Neuhauser <neuhauser@xxxxxxxxxx>
- To: zsh users <zsh-users@xxxxxxxxxx>
- Subject: _arguments: repeated option with multiple optargs
- Date: Tue, 19 Sep 2006 01:46:39 +0000
- Mail-followup-to: zsh users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hello,
_arguments -s : '*-r=::->file:*:::->test'
does exactly what the manual say it does, IOW all the remaining words on
the line are to be completed as described by the action. That's not what
I want, though: the whole (-r file 1*test) can be repeated, and I'd like
it to offer also -r.
Can _arguments do this for me somehow, or is this up to me?
Hints appreciated.
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991
Messages sorted by:
Reverse Date,
Date,
Thread,
Author