From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9939 invoked from network); 31 Aug 2004 12:30:19 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 31 Aug 2004 12:30:19 -0000 Received: (qmail 54806 invoked from network); 31 Aug 2004 12:30:13 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 31 Aug 2004 12:30:13 -0000 Received: (qmail 17892 invoked by alias); 31 Aug 2004 12:29:25 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7954 Received: (qmail 17880 invoked from network); 31 Aug 2004 12:29:24 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 31 Aug 2004 12:29:24 -0000 Received: (qmail 52913 invoked from network); 31 Aug 2004 12:27:31 -0000 Received: from mail36.messagelabs.com (193.109.254.211) by a.mx.sunsite.dk with SMTP; 31 Aug 2004 12:27:25 -0000 X-VirusChecked: Checked X-Env-Sender: okiddle@yahoo.co.uk X-Msg-Ref: server-3.tower-36.messagelabs.com!1093955244!8895417 X-StarScan-Version: 5.2.10; banners=-,-,- X-Originating-IP: [158.234.9.163] Received: (qmail 14905 invoked from network); 31 Aug 2004 12:27:24 -0000 Received: from iris.logica.co.uk (158.234.9.163) by server-3.tower-36.messagelabs.com with SMTP; 31 Aug 2004 12:27:24 -0000 Received: from trentino.logica.co.uk ([158.234.142.61]) by iris.logica.co.uk (8.12.3/8.12.3/Debian -4) with ESMTP id i7VCROf6003629 for ; Tue, 31 Aug 2004 13:27:24 +0100 Received: from trentino.logica.co.uk (localhost [127.0.0.1]) by trentino.logica.co.uk (Postfix) with ESMTP id 341BD791B004 for ; Tue, 31 Aug 2004 14:27:04 +0200 (CEST) To: Zsh-users List X-VirusChecked: Checked X-StarScan-Version: 5.0.7; banners=.,-,- In-reply-to: <20040831083820.GA21015@spiegl.de> From: Oliver Kiddle References: <20040826181857.GF10369@localhost> <20040826221435.GA28932@spiegl.de> <20040830151313.GA3639@spiegl.de> <10449.1093879550@trentino.logica.co.uk> <20040830172050.GC3639@spiegl.de> <20040831083820.GA21015@spiegl.de> Subject: Re: another Problem with ignore-line Date: Tue, 31 Aug 2004 14:27:04 +0200 Message-ID: <18424.1093955224@trentino.logica.co.uk> X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 Andy Spiegl wrote: > Here are my current completion settings (I removed as much as possible): > # General completion technique > zstyle ':completion:*' completer _complete > > # don't complete the same filename > zstyle ':completion:*:(rm|cp|mv):*' ignore-line yes > Try changing the ignore-line style to `other'. That is: zstyle ':completion:*:(rm|cp|mv):*' ignore-line other Otherwise the current word (`a' in this case) is ignored along with any preceding words. The default if you don't have a completer style is for _ignored to be run after _complete so normally that would pick up the current word. So if you prefer, you can add the _ignored completer. See the zsh-workers discussion starting 15998 for more on the limitations of ignore-line. Oliver