From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8162 invoked by alias); 15 Nov 2014 18:00:07 -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: 19395 Received: (qmail 1150 invoked from network); 15 Nov 2014 18:00:01 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 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== X-Received: by 10.112.14.69 with SMTP id n5mr15100415lbc.34.1416074388291; Sat, 15 Nov 2014 09:59:48 -0800 (PST) Message-ID: <54679491.2040403@gmail.com> Date: Sat, 15 Nov 2014 23:59:45 +0600 From: Vasiliy Ivanov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.8.0 MIME-Version: 1.0 To: Eric Cook CC: zsh-users@zsh.org Subject: Re: _arguments -s -w and sets References: <54650B25.4050209@gmx.com> In-Reply-To: <54650B25.4050209@gmx.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 # 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? > > 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