From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5747 invoked from network); 27 Aug 2004 07:35:19 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 27 Aug 2004 07:35:19 -0000 Received: (qmail 74691 invoked from network); 27 Aug 2004 07:35:13 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 27 Aug 2004 07:35:13 -0000 Received: (qmail 19031 invoked by alias); 27 Aug 2004 07:34:29 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7934 Received: (qmail 19022 invoked from network); 27 Aug 2004 07:34:28 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 27 Aug 2004 07:34:28 -0000 Received: (qmail 72708 invoked from network); 27 Aug 2004 07:32:30 -0000 Received: from smtp2.su.se (130.237.93.212) by a.mx.sunsite.dk with SMTP; 27 Aug 2004 07:32:28 -0000 Received: from localhost (smtp2.su.se [127.0.0.1]) by smtp2.su.se (Postfix) with ESMTP id D3DE1200140 for ; Fri, 27 Aug 2004 09:32:26 +0200 (CEST) Received: from smtp2.su.se ([127.0.0.1]) by localhost (smtp2.su.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25416-03-9 for ; Fri, 27 Aug 2004 09:32:26 +0200 (CEST) Received: from unni.dsv.su.se (unni.dsv.su.se [130.237.161.27]) by smtp2.su.se (Postfix) with ESMTP id BECF0200035 for ; Fri, 27 Aug 2004 09:32:26 +0200 (CEST) Received: from localhost (dhcp-161-107.dsv.su.se [130.237.161.107]) by unni.dsv.su.se (Postfix) with ESMTP id B1ED38B316 for ; Fri, 27 Aug 2004 09:32:26 +0200 (CEST) Received: from jesper by localhost with local (Exim 4.34) id 1C0bDj-0006G0-Q3 for zsh-users@sunsite.dk; Fri, 27 Aug 2004 09:32:23 +0200 Date: Fri, 27 Aug 2004 09:32:23 +0200 From: Jesper Holmberg To: Zsh-users List Subject: Re: Problem with ignore-line and parenthesis Message-ID: <20040827073223.GA20283@localhost> Mail-Followup-To: Zsh-users List References: <20040826181857.GF10369@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6+20040722i Sender: Jesper Holmberg X-Virus-Scanned: by amavisd-new at su.se 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=BAYES_44 autolearn=no version=2.63 X-Spam-Hits: -0.0 * On Thu Aug 26, Bart Schaefer wrote: > On Thu, 26 Aug 2004, Jesper Holmberg wrote: > > > I have the following zstyle in my .zshrc: > > > > zstyle ':completion:*:(rm|cp|mv):*' ignore-line yes > > > > Filenames with parentheses in them seem to cause problems, though. > > Filenames with any glob pattern in them would have problems, I think. See > if this does the right thing. Yes, your patch seems to fix my example problem. However, I have some other files that still cause the same problem. They're called: Meeting notes (2004-01-15).doc Meeting notes (2004-01-30).doc And when I have the first one on the command line, it is still suggested as a completion when doing mv or cp. Jesper