Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problem with _arguments exclusion lists
- X-seq: zsh-workers 14000
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: problem with _arguments exclusion lists
- Date: Tue, 17 Apr 2001 11:44:05 +0100 (BST)
- In-reply-to: <200104170950.LAA05595@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
--- Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Hrmpf. Yes. This was a bit more complicated to fix because the option
> should still keep itself from being offered as a possible completion
> a
> second time unless it may be given more than once.
I suspected that it mightn't be too easy when I posted the first
message. The patch seems to fix it but the following still doesn't
work:
_arguments -s '(-conf)-c+:val' '-conf' '-f'
after -c, it completes with the 'val' message so even after -co, it
can't complete -conf. I found these problems with _pine which completes
a number after -c. Maybe there would be a use here for a basic
completion for numbers so that it can know that -co can not be -c with
a parameter.
Oliver
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
Messages sorted by:
Reverse Date,
Date,
Thread,
Author