Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
_arguments -s -w and sets
- X-seq: zsh-users 19379
- From: Eric Cook <llua@xxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: _arguments -s -w and sets
- Date: Thu, 13 Nov 2014 14:48:53 -0500
- 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
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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author