diff --git a/.zshrc b/.zshrc index ea93de4..d7d4cbc 100644 --- a/.zshrc +++ b/.zshrc @@ -47,8 +47,9 @@ bindkey "^[^[[A" up-line-or-beginning-search # Up bindkey "^[[B" down-line-or-beginning-search # Down bindkey "^[^[[B" down-line-or-beginning-search # Down -zstyle ':completion:*:sudo::' environ PATH="/sbin:/usr/sbin:$PATH" HOME="/root" +zstyle ':completion:*:sudo|_::' environ PATH="/sbin:/usr/sbin:$PATH" HOME="/root" zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=** r:|=**' 'l:|=* r:|=*' +zstyle ':completion:*' rehash true zstyle :compinstall filename "$HOME/.zshrc" autoload -U compinit ; compinit