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

Re: _arguments -s -w and sets



On 14.11.2014 01:48, Eric Cook wrote:
> I've noticed when trying to complete multiple options in one word,
> options that should be ignored via sets are still completed.
> 
> with:
> compdef '_arguments -s -w : -a - set1 -b - set2 -c' foo
> 
> foo -c <tab> # completes -a alone.
> but
> foo -c<tab> # offers both -a or -b
> 
> Is that intentional and if so, is there a way to get the desired effect
> of ignoring -b?
> 
> 

A couple of months ago I asked similar question – http://www.zsh.org/mla/workers/2014/msg01037.html
Unfortunately, seems there will be no fix for this.

-- 
Regards,
  Vasiliy Ivanov <beelzebubbie.logs@xxxxxxxxx>



Messages sorted by: Reverse Date, Date, Thread, Author