Revert back to stock zim completion matcher-list

Current config has really annoying behaviour with options that have
both shared prefix and suffix, and it seems that the original issue
was fixed at some point.
This commit is contained in:
Adam Goldsmith 2024-11-07 14:49:11 -05:00
parent 47c62ca189
commit 2e92b748ae

3
.zshrc
View File

@ -55,9 +55,6 @@ setopt INC_APPEND_HISTORY
# rehashes on bin change, might cause performance issues # rehashes on bin change, might cause performance issues
zstyle ':completion:*' rehash true zstyle ':completion:*' rehash true
# Fix completion matching: # https://github.com/zimfw/completion/issues/10
zstyle ':completion:*' matcher-list 'm:{[:lower:]-}={[:upper:]_} r:|[.]=**' '+l:|=*'
# History Substring Search bindings (PageUp and PageDown) # History Substring Search bindings (PageUp and PageDown)
bindkey '^[[5~' history-substring-search-up bindkey '^[[5~' history-substring-search-up
bindkey '^[[6~' history-substring-search-down bindkey '^[[6~' history-substring-search-down