From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15866 invoked from network); 8 Dec 2003 17:11:22 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 8 Dec 2003 17:11:22 -0000 Received: (qmail 18228 invoked by alias); 8 Dec 2003 17:11:04 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6848 Received: (qmail 18171 invoked from network); 8 Dec 2003 17:11:03 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 8 Dec 2003 17:11:03 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [195.197.252.71] by sunsite.dk (MessageWall 1.0.8) with SMTP; 8 Dec 2003 17:11:2 -0000 Received: from azure by lynx.tre-1.ionific.com with local (Exim 3.35 #1 (Debian)) id 1ATOuU-0005cH-00; Mon, 08 Dec 2003 19:11:02 +0200 To: Zsh Users' List Subject: Excluding files in CVS directories in filename generation Mail-copies-to: nobody From: Hannu Koivisto Date: Mon, 08 Dec 2003 19:11:02 +0200 Message-ID: <87y8tnfd5l.fsf@lynx.tre-1.ionific.com> User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386-debian-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Hannu Koivisto Greetings, If I want a pattern that matches all files in the current directory and its descendant directories excluding files in directories named CVS, why doesn't **/*~**/CVS/*(.) work? Files in "$(pwd)/CVS" are not excluded with that pattern and instead I have to say **/*~CVS/*~**/CVS/*(.) which feels a bit too verbose. Any solutions? -- Hannu