Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Ignore CVS directories in completion
- X-seq: zsh-users 5152
- From: Sheldon Hearn <sheldonh@xxxxxxxxxxxxx>
- To: Darren Greaves <darren@xxxxxxxxxxxxx>
- Subject: Re: Ignore CVS directories in completion
- Date: Wed, 10 Jul 2002 18:12:18 +0200
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20020710170112.B19764@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20020710155047.GO71200@xxxxxxxxxxxxx> <20020710170112.B19764@xxxxxxxxxxxxx>
- Sender: Sheldon Hearn <sheldonh@xxxxxxxxxxxxx>
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/<TAB>' 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author