Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: default tag-order (was Re: zsh 4.2.1-test-A)
- X-seq: zsh-workers 20246
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: default tag-order (was Re: zsh 4.2.1-test-A)
- Date: Sun, 08 Aug 2004 19:54:25 +0200
- In-reply-to: <16609.1091976020@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200408061350.i76DovBi028948@xxxxxxxxxxxxxx> <20040806180339.GA31854@xxxxxxxxxxx> <10094.1091886003@xxxxxxxxxxxxxxxxxxxxx> <20040808044557.GA8117@xxxxxxxxxxx> <16609.1091976020@xxxxxxxxxxxxxxxxxxxxx>
I wrote:
>
> The problem is with the default tag-order defined in _tags. The relevant
> bit of code is as follows:
> zstyle -a ":completion:${curcontext}:" tag-order order ||
> order=('(|*-)argument-* (|*-)option[-+]* values' options)
Actually, this causes problems even with something like:
_alternative \
'options:option:(one two three)' \
'foos:foo:(aa bbb cc)'
So it is probably worth checking for (|*-)argument-* (|*-)option[-+]* tags.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author