From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6757 invoked from network); 10 Jul 2002 16:11:28 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 10 Jul 2002 16:11:28 -0000 Received: (qmail 15481 invoked by alias); 10 Jul 2002 16:11:16 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5152 Received: (qmail 15465 invoked from network); 10 Jul 2002 16:11:14 -0000 Date: Wed, 10 Jul 2002 18:12:18 +0200 From: Sheldon Hearn To: Darren Greaves Cc: zsh-users@sunsite.dk Subject: Re: Ignore CVS directories in completion Message-ID: <20020710161218.GP71200@starjuice.net> References: <20020710155047.GO71200@starjuice.net> <20020710170112.B19764@krapplets.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020710170112.B19764@krapplets.org> User-Agent: Mutt/1.5.1i Sender: Sheldon Hearn On (2002/07/10 17:01), Darren Greaves wrote: > I have the following two lines in my .zshrc > > zstyle ':completion:*:(all-|)files' ignored-patterns '(|*/)CVS' > zstyle ':completion:*:cd:*' ignored-patterns '(*/)#CVS' > > One does files, one does dirs. > > I got them from someone here ages ago, and they work fine for me. Rocking, I have my wits back! :-) This does just about everything. Typing '~/src/' with a view to finding a shell script to run and having the CVS directories excluded there doesn't work, but that's an edge case, and your solution above solves most of the problem for me. Thanks! I'll take a fresh look at the manpages and figure out _why_ it works. :-) Ciao, Sheldon.