Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: default tag-order (was Re: zsh 4.2.1-test-A)



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