all repos — nixfiles @ c25428de28d56b9d0c7c271380d6cfc1cc84fcf8

System and user configuration, managed by nix and home-manager

zsh: Make matching fuzzier It will now complete from the right, if there are no leftward completions, and then from both sides if necessary

Alan Pearce
commit

c25428de28d56b9d0c7c271380d6cfc1cc84fcf8

parent

864aee5a0e4f7574b160e68a9767df9687ffcaa2

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M zsh/.config/zsh/.zshrczsh/.config/zsh/.zshrc
@@ -116,7 +116,7 @@ zle -C hist-complete complete-word _generic
zstyle ':completion:hist-complete:*' completer _history bindkey '\e ' hist-complete -zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' '+m:{A-Z}={a-z}' +zstyle ':completion:*' matcher-list 'm:{a-zA-Z-_}={A-Za-z_-}' 'r:|=*' 'l:|=* r:|=*' zstyle ':completion:*' completer _expand _complete _match if [[ -z $SSH_AUTH_SOCK && $commands[ssh-agent] ]]