From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13342 invoked by alias); 10 May 2016 11:04:36 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38460 Received: (qmail 13587 invoked from network); 10 May 2016 11:04:35 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Biglobe-Sender: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: zsh _multi_parts patch and question From: "Jun T." In-Reply-To: <57318C76.4030509@redhat.com> Date: Tue, 10 May 2016 19:24:09 +0900 Content-Transfer-Encoding: 7bit Message-Id: <3CE5BE72-0EC4-487D-9436-FA9776BCD8D2@kba.biglobe.ne.jp> References: <57318C76.4030509@redhat.com> To: "zsh-workers@zsh.org" X-Mailer: Apple Mail (2.1510) X-Biglobe-Spnum: 56999 On 2016/05/10, at 16:23, Marko Myllynen wrote: > > First here's a trivial patch to mention the -i option for _multi_parts: Thanks, I've pushed the patch. > # Fail > _wanted test expl test _multi_parts -i . \ > ( a.b.a a.b.b b.a.a b.a.b c.a.a c.a.b ) && return 0 You need to quote the literal array, for example, _wanted test expl test _multi_parts -i . \ '( a.b.a a.b.b b.a.a b.a.b c.a.a c.a.b )' && return 0 Jun