]> arthur.barton.de Git - ax-zsh.git/commitdiff
correction: Ignore dot files, don't offer them as a correction
authorAlexander Barton <alex@barton.de>
Fri, 22 Feb 2019 21:14:23 +0000 (22:14 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 22 Feb 2019 21:14:23 +0000 (22:14 +0100)
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