Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Ignore CVS directories in completion



Hi,

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.


On Wed, Jul 10, 2002 at 05:50:47PM +0200, Sheldon Hearn wrote:
> Greetings from wits end! :-)
> 
> I've spent two hours in the manual page, the example .zshrc and the FAQ
> and still can't get completion to ignore CVS directories with zsh-4.0.4.
> 
> I can get _files_ called CVS ignored, but not _directories_.
> 

-- 
Burns:    Who was that young hellcat, Smithers?
Smithers: Homer Simpson, sir.
Burns:    Simpson, eh?  I'll remember that name...
Darren Greaves <darren@xxxxxxxxxxxxx> - http://boncey.org/



Messages sorted by: Reverse Date, Date, Thread, Author