From d2f4bf2bdd67b155d183d1851a1842a9de6e92e5 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Sun, 4 Aug 2024 19:44:22 +0200 Subject: [PATCH] feat(zsh): remove approximation completer --- zsh/completion | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zsh/completion b/zsh/completion index 45f215a..49a00fd 100644 --- a/zsh/completion +++ b/zsh/completion @@ -25,14 +25,13 @@ bindkey '^N' history-beginning-search-forward # :completion::::: zstyle ':completion:*' auto-description '%d' zstyle ':completion:*' cache-path "${_cache_dir:?}/compcache" -zstyle ':completion:*' completer _complete _approximate +zstyle ':completion:*' completer _complete zstyle ':completion:*' group-name '' zstyle ':completion:*' insert-unambiguous true # shellcheck disable=SC2296 zstyle ':completion:*:default' list-colors "${(s.:.)LS_COLORS}" zstyle ':completion:*' list-dirs-first true zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' -zstyle ':completion:*:approximate:*' max-errors 1 numeric zstyle ':completion:*:default' menu select zstyle ':completion:*' original false zstyle ':completion:*' preserve-prefix '//[^/]##/'