Update file dot_zshrc

This commit is contained in:
Brian Zalewski 2023-01-24 15:04:59 +00:00
parent 94cd23929e
commit d15b66d6f4

View file

@ -59,8 +59,11 @@ setopt PROMPT_SUBST
setopt SHARE_HISTORY setopt SHARE_HISTORY
# ZSH completion system # ZSH completion system
autoload -Uz compinit if [ ! -d "$XDG_CACHE_HOME/zsh" ]; then
mkdir -p "$XDG_CACHE_HOME/zsh"
fi
compinit -d "$XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION" compinit -d "$XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION"
autoload -Uz compinit
zstyle ':completion:*:*:*:*:*' menu select zstyle ':completion:*:*:*:*:*' menu select
zstyle ':completion:*' cache-path "$XDG_CACHE_HOME/zsh/zcompcache" zstyle ':completion:*' cache-path "$XDG_CACHE_HOME/zsh/zcompcache"
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'