feat(zsh): remove approximation completer

This commit is contained in:
2024-08-04 19:44:22 +02:00
parent 73b62bf30b
commit d2f4bf2bdd
+1 -2
View File
@@ -25,14 +25,13 @@ bindkey '^N' history-beginning-search-forward
# :completion:<function>:<completer>:<command>:<argument>:<tag> # :completion:<function>:<completer>:<command>:<argument>:<tag>
zstyle ':completion:*' auto-description '%d' zstyle ':completion:*' auto-description '%d'
zstyle ':completion:*' cache-path "${_cache_dir:?}/compcache" zstyle ':completion:*' cache-path "${_cache_dir:?}/compcache"
zstyle ':completion:*' completer _complete _approximate zstyle ':completion:*' completer _complete
zstyle ':completion:*' group-name '' zstyle ':completion:*' group-name ''
zstyle ':completion:*' insert-unambiguous true zstyle ':completion:*' insert-unambiguous true
# shellcheck disable=SC2296 # shellcheck disable=SC2296
zstyle ':completion:*:default' list-colors "${(s.:.)LS_COLORS}" zstyle ':completion:*:default' list-colors "${(s.:.)LS_COLORS}"
zstyle ':completion:*' list-dirs-first true zstyle ':completion:*' list-dirs-first true
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 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:*:default' menu select
zstyle ':completion:*' original false zstyle ':completion:*' original false
zstyle ':completion:*' preserve-prefix '//[^/]##/' zstyle ':completion:*' preserve-prefix '//[^/]##/'