From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13136 invoked by alias); 30 Jun 2014 19:55:31 -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: 32825 Received: (qmail 16308 invoked from network); 30 Jun 2014 19:55:25 -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,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Originating-IP: [86.6.157.246] X-Spam: 0 X-Authority: v=2.1 cv=KpbD2AmN c=1 sm=1 tr=0 a=BvYiZ/UW0Fmn8Wufq9dPrg==:117 a=BvYiZ/UW0Fmn8Wufq9dPrg==:17 a=NLZqzBF-AAAA:8 a=QDGfotNu_FIA:10 a=uObrxnre4hsA:10 a=kj9zAlcOel0A:10 a=YR4_K0clAAAA:8 a=Ij022Ku7jR1oKtyIY6AA:9 a=CjuIK1q_8ugA:10 a=wVMCz9pXto4A:10 a=7Xjj9_RePnIA:10 a=xDb3tzPP284A:10 Date: Mon, 30 Jun 2014 20:09:20 +0100 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: [Pkg-zsh-devel] Bug#679824: zsh: Buggy perl completion with -e [origin: vincent@vinc17.net] Message-ID: <20140630200920.040d85da@pws-pc.ntlworld.com> In-Reply-To: <94EEBC97-747A-4D8D-BDF4-65A3B88889B3@kba.biglobe.ne.jp> References: <20140628142003.GI5355@sym.noone.org> <94EEBC97-747A-4D8D-BDF4-65A3B88889B3@kba.biglobe.ne.jp> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 30 Jun 2014 20:45:13 +0900 "Jun T." wrote: > Sorry, I fotgot about the array $opt_args, which can be used to > detect the -e '...' on the command line. > > But modifying the line '*::args: _normal' would be also OK. This seems to work fine. I don't think there's an easier answer without modifying _arguments, which no sane person would want to do. pws