diff --git a/zsh/completion.zsh b/zsh/completion.zsh index bbed865..de7db34 100644 --- a/zsh/completion.zsh +++ b/zsh/completion.zsh @@ -51,7 +51,7 @@ zstyle ':completion:::::' completer \ #TODO: keep _prefix or not? # 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 zstyle -e ':completion:*:approximate:*' max-errors \