]> arthur.barton.de Git - ax-zsh.git/blobdiff - default_plugins/correction/correction.zshrc
correction: Ignore dot files, don't offer them as a correction
[ax-zsh.git] / default_plugins / correction / correction.zshrc
index e58139f1e5fa8866f58e85b1995b5f12b1f3fd66..5ee0cf0664f4aeadd9b917b4b72a54b27438ca06 100644 (file)
@@ -37,6 +37,9 @@ done
 
 setopt correct_all
 
+# Ignore dot files, don't offer them as a correction.
+CORRECT_IGNORE_FILE='.*'
+
 SPROMPT="$ZSH_NAME: Correct \"$fg[yellow]%R$reset_color\" to \"$fg[green]%r$reset_color\" [$fg_bold[white]nyae$reset_color]? "
 
 unset cmd