zsh: disable approximate completions

They turned out to be kind of annoying.
This commit is contained in:
Fernando Schauenburg 2023-10-09 19:53:16 +02:00
parent 881fa855bb
commit ade1f30ef6

View file

@ -7,10 +7,10 @@ _comp_options+=(globdots)
# Completion context pattern: # Completion context pattern:
# :completion:<function>:<completer>:<command>:<argument>:<tag> # :completion:<function>:<completer>:<command>:<argument>:<tag>
zstyle ':completion:*' completer _extensions _complete _approximate zstyle ':completion:*' completer _extensions _complete
# Match case-insensitively and on partial words. # Match case-insensitively and on partial words.
zstyle ':completion:*' matcher-list 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' zstyle ':completion:*' matcher-list 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}'
# Activate caching for completions that may use it. # Activate caching for completions that may use it.
zstyle ':completion:*' use-cache true zstyle ':completion:*' use-cache true