1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

zshrc: update completion configuration

This commit is contained in:
Joe Groocock 2017-10-03 10:29:55 +01:00
parent bc3f39e905
commit c01fc34e55
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

3
.zshrc
View File

@ -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
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:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=** r:|=**' 'l:|=* r:|=*'
zstyle ':completion:*' rehash true
zstyle :compinstall filename "$HOME/.zshrc" zstyle :compinstall filename "$HOME/.zshrc"
autoload -U compinit ; compinit autoload -U compinit ; compinit