From a165991e9a582577b374a1081d72e81699fae07d Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 28 Jan 2023 10:33:44 -0500 Subject: [PATCH] Fix weird behavior relating to capital letters when completing https://github.com/zimfw/completion/issues/10 --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) 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