From: Maximilian Friedersdorff Date: Tue, 20 Aug 2019 08:30:50 +0000 (+0100) Subject: Limit autocorrect to 1 error X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;ds=inline;h=5ef4b34fad5fedb1ef2561ee1f0ba45fdfed0ddb;p=max%2Fsaltfiles.git Limit autocorrect to 1 error --- diff --git a/states/zsh/files/zshrc b/states/zsh/files/zshrc index 86ecdf4..04852ce 100644 --- a/states/zsh/files/zshrc +++ b/states/zsh/files/zshrc @@ -8,7 +8,7 @@ zstyle ':completion:*' ignore-parents parent pwd zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s zstyle ':completion:*' list-suffixes true -zstyle ':completion:*' max-errors 2 +zstyle ':completion:*' max-errors 1 zstyle ':completion:*' menu select=1 zstyle ':completion:*' preserve-prefix '//[^/]##/' zstyle ':completion:*' prompt 'Corrections with %e differences:'