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

Re: Annoying zsh completion



>>>>> On January 9, 2012 Peter Stephenson <Peter.Stephenson@xxxxxxx> wrote:

> No idea where this is coming from (see what "which .vim" says), but if
> you never want to complete commands beginning with a "." you can set

> CORRECT_IGNORE=".*"

AFAICT CORRECT_IGNORE impacts correction (which is not enabled by
default), not completion; to avoid completing stuff starting with '_'
or '.', then also do:

zstyle ':completion:*' prefix-needed true

in a pretty recent zsh.

there's also $fignore and the zstyle 'ignored-patterns', but unless
you remove the _ignored completer you can still get ignored matches.

greg



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