From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29243 invoked by alias); 13 Nov 2014 19:49:00 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19379 Received: (qmail 11233 invoked from network); 13 Nov 2014 19:48:59 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Message-ID: <54650B25.4050209@gmx.com> Date: Thu, 13 Nov 2014 14:48:53 -0500 From: Eric Cook User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: zsh-users@zsh.org Subject: _arguments -s -w and sets Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:MKSau0v0m21mnFA3bRqVFCjTzKJZIHh//0adsfjTw25KCu2fFPQ nm0gAVjp9pBmU05p7c2z2PpXm0KqrjBzeloih/kIitB2WXg39jtc8eUlsh8LrAxzEnd2tIZ gMDjuU9DQW664GRrOwc2bX8uV4Cnr2oU3Gdghs2oAgSwXFyW73xkfeDl8jwQfJ/aEbxI9wh rVjf7n+PdNO770YMYiIMA== X-UI-Out-Filterresults: notjunk:1; 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 # completes -a alone. but foo -c # offers both -a or -b Is that intentional and if so, is there a way to get the desired effect of ignoring -b?