From 5ef4b34fad5fedb1ef2561ee1f0ba45fdfed0ddb Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Tue, 20 Aug 2019 09:30:50 +0100 Subject: [PATCH] Limit autocorrect to 1 error --- states/zsh/files/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:' -- 2.44.0