Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Ignoring files with a specific extension
- X-seq: zsh-users 13430
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Ignoring files with a specific extension
- Date: Wed, 05 Nov 2008 12:01:18 +0000
- In-reply-to: <62661.88.73.216.197.1225885814.squirrel@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <62585.88.73.216.197.1225884415.squirrel@xxxxxxxxxxxxxxxxx> <200811051133.mA5BXn9h014722@xxxxxxxxxxxxxx> <62661.88.73.216.197.1225885814.squirrel@xxxxxxxxxxxxxxxxx>
"Leslie P. Polzer" wrote:
> Only nothing of that worked for me... I have tried both setting
> fignore and doing
>
> zstyle ':completion:*:*:vi(m|):*' ignored-patterns '*.fasl'
>
> (actually the extension is a lower case ".fasl")
>
> Is there something I should check for?
>
> FWIW I have the following lines in my /etc/zsh/zshrc:
>
> ---
>
> autoload -U compinit
> compinit -C
>
> zstyle ':completion:*' list-colors $LS_COLORS
Looks OK to me... in particular, you're using "compinit" without which
the ignored-patterns method wouldn't work. I tried it from scratch to
make sure and it worked for me.
One point is that if you have *only* .fasl files, a later completion
pass will put those back in. To stop that,
zstyle ':completion:*' completer _complete
(the default is equivalent to adding "_ignored" to the end). However,
usually the default behaviour is harmless and occasionally useful.
> and in my local zshrc, among other probably harmless things:
Yes, those shouldn't have any adverse effect.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author