Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _arguments
- X-seq: zsh-workers 11886
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: _arguments
- Date: Wed, 14 Jun 2000 08:53:53 +0200 (MET DST)
- In-reply-to: Clint Adams's message of Tue, 13 Jun 2000 13:47:27 -0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Clint Adams wrote:
> [sunsite.auc.dk seems to be oppressing me as it did Sven]
I just noticed that someone was so kind to put the X-Seq numbers for
my patches in the ChangeLog... thanks!
> > If anyone sees weird results when completing options from multiple
> > sets, please tell me.
>
> I've committed changes to _dpkg. Everything seems to work except for
> the install|record_avail case, in which case zsh will complete nothing.
> Did I misunderstand something?
The `-A -*' doesn't mean that it complete ignores all unknown strings
starting with a hyphen, it just means that it doesn't stop completing
options if it finds undescribed `-foo's.
So, you still have to give it the `--{install,...}' to make it ignore
it. Or you use the `= ' trick together with the `::' trick, as in:
'(-i)--install:*::Debian packages:= ->install' \
Then you can leave the other stuff alone (as long as you don't need to
react to the presence/absence of options that might be before the
`--install', which, hm, I think you have (the exclusion lists), hm ...).
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author