From 0e0f4b13e6ff7ce5c785cab831e83ab380b431e7 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 22 Feb 2019 22:14:23 +0100 Subject: [PATCH] correction: Ignore dot files, don't offer them as a correction --- default_plugins/correction/correction.zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/default_plugins/correction/correction.zshrc b/default_plugins/correction/correction.zshrc index e58139f..5ee0cf0 100644 --- a/default_plugins/correction/correction.zshrc +++ b/default_plugins/correction/correction.zshrc @@ -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 -- 2.39.2