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

Re: Zsh observations



On Jul 9, 11:31am, Michael Schaap wrote:
}
} But remember, I've run
}          % zstyle ':completion::complete:-command-:*' ignored-patterns \
} '*.(#i)(exe|dll)'
} on your advice.

Hmm, looks like you might want to change that to '*.(#i)(exe|dll|ini).'  In
fact, you could just change it to '*.???'.

Then try adding the _ignored completer somewhere near the end of your
completer zstyle, e.g.

    zstyle ':completion:*' completer _complete _ignored

which will complete the ignored patterns iff there are no other matches.

BTW, if Sven is reading this:  Looking at _complete_debug output, I see that
the ignored-patterns end up repeated twice in the setting of _comp_ignore in
_path_files at line 93.  Shouldn't make any difference, but seems odd.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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