feat(zsh): remove approximation completer

This commit is contained in:
Oscar Wallberg
2024-08-04 19:44:22 +02:00
parent 97539a8878
commit d5e9e4510e
+1 -2
View File
@@ -25,14 +25,13 @@ bindkey '^N' history-beginning-search-forward
# :completion:<function>:<completer>:<command>:<argument>:<tag>
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 '//[^/]##/'