Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _arguments -s -w and sets
- X-seq: zsh-users 19395
- From: Vasiliy Ivanov <beelzebubbie.logs@xxxxxxxxx>
- To: Eric Cook <llua@xxxxxxx>
- Subject: Re: _arguments -s -w and sets
- Date: Sat, 15 Nov 2014 23:59:45 +0600
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=yNAD8kPrd9pGE9lo1she5e1bR6Bk59u3Am+dY0sKcu8=; b=U27Mxw8CqIASej+GDlzHwhOf90DcHFqMYRTUL2X2lh1dXcGojAVGiAal/eOyYc3F1j vFofuaAMsBo2iNQ5cJp7zeMUsuovnB4YWBuVw/B+7SGzXmgbK6foKgQS55m1q3WCDbfg Z6+xdeo7sxcNtesZzblOPuUTazCA+19QT4TNP3bEW3erqvn86ew1E94WTSqCXFb5oXN8 wtGe0FEK38xzSFg0Lt+hNWMyaqWGUZi/ADjIoLfHNEOyzMA++OrMIkbWvI7ULnCMLY5f hZTGeXLVTOS0JZu3khtBs5mtypZakq0dHmQOWGYDnFZkUy3wkIxRgSMWhPpjZrAeFPge Zgjw==
- In-reply-to: <54650B25.4050209@gmx.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <54650B25.4050209@gmx.com>
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