diff --git a/.zshrc b/.zshrc index 579a320..b6ae526 100644 --- a/.zshrc +++ b/.zshrc @@ -54,6 +54,9 @@ setopt INC_APPEND_HISTORY # rehashes on bin change, might cause performance issues 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) bindkey '^[[5~' history-substring-search-up bindkey '^[[6~' history-substring-search-down