zsh: completion: improve case insensitivity of approximate-completer
This commit is contained in:
parent
6182aeca25
commit
5b1954b5b2
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ zstyle ':completion:::::' completer \
|
||||||
#TODO: keep _prefix or not?
|
#TODO: keep _prefix or not?
|
||||||
|
|
||||||
# ignore case when trying to match typed characters
|
# ignore case when trying to match typed characters
|
||||||
zstyle ':completion:*:(^approximate):*' matcher-list 'm:{a-z}={A-Z}'
|
zstyle ':completion:*:(^approximate):*' matcher-list 'm:{a-zA-Z-_}={A-Za-z_-}'
|
||||||
|
|
||||||
# allow one mistake per three characters
|
# allow one mistake per three characters
|
||||||
zstyle -e ':completion:*:approximate:*' max-errors \
|
zstyle -e ':completion:*:approximate:*' max-errors \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue