* _arguments -s -w and sets
@ 2014-11-13 19:48 Eric Cook
2014-11-15 17:59 ` Vasiliy Ivanov
0 siblings, 1 reply; 3+ messages in thread
From: Eric Cook @ 2014-11-13 19:48 UTC (permalink / raw)
To: zsh-users
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: _arguments -s -w and sets
2014-11-13 19:48 _arguments -s -w and sets Eric Cook
@ 2014-11-15 17:59 ` Vasiliy Ivanov
2014-11-15 18:21 ` Eric Cook
0 siblings, 1 reply; 3+ messages in thread
From: Vasiliy Ivanov @ 2014-11-15 17:59 UTC (permalink / raw)
To: Eric Cook; +Cc: zsh-users
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@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: _arguments -s -w and sets
2014-11-15 17:59 ` Vasiliy Ivanov
@ 2014-11-15 18:21 ` Eric Cook
0 siblings, 0 replies; 3+ messages in thread
From: Eric Cook @ 2014-11-15 18:21 UTC (permalink / raw)
To: zsh-users
On 11/15/2014 12:59 PM, Vasiliy Ivanov wrote:
> 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.
>
Unfortunate, but thank you for the link.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-15 18:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-13 19:48 _arguments -s -w and sets Eric Cook
2014-11-15 17:59 ` Vasiliy Ivanov
2014-11-15 18:21 ` Eric Cook
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).