X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=7c5ab05db5cd114da6d20fedfec07a7456026af6;hb=c8e414f1d0b1aa3b081c43e4dbf1fea9d45cd0af;hp=201e17c13a5ed103ffdb67e65c9e9b03e53430ea;hpb=9b3e741610ff2fbc754a5700e3e4cb0962670e61;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index 201e17c..7c5ab05 100644 --- a/zsh/rc +++ b/zsh/rc @@ -727,6 +727,14 @@ zle_highlight=(suffix:none) # Ignore completion functions. zstyle ':completion:*:functions' ignored-patterns '_*' + +# When offering typo corrections, do not propose anything which starts with an +# underscore (such as many of Zsh's shell functions). Thanks to paradigm [1] +# for the idea (read on 2013-04-07). +# +# [1]: https://github.com/paradigm/dotfiles/blob/master/.zshrc +CORRECT_IGNORE='_*' + # Ignore parent directory. zstyle ':completion:*:(cd|mv|cp):*' ignore-parents parent pwd # Always complete file names only once in the current line. This makes it easy