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

Re: make zstyle ignore both _* and __* commands



On Fri, 30 Jun 2017 18:39:18 -0300
Filipe Silva <filipe.silva@xxxxxxxxx> wrote:
> I have this line in my config, that tells zsh to ignore `_*` commands on
> completions:
> 
> zstyle ':completion:*:functions' ignored-patterns '_*'
> 
> It works well. But I'd like to tell zsh to also ignore `__*' commands
> 
> (double undescores)
> 
> Is there a way to do that?

It should already do that, for reasons I think ought to be
self-explanatory (famous last words, I know).  Have you found some case
where it doesn't?

pws



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