From d15b66d6f43ec738e1b1110dca14e782c4b4b469 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Tue, 24 Jan 2023 15:04:59 +0000 Subject: [PATCH] Update file dot_zshrc --- home/dot_zshrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home/dot_zshrc b/home/dot_zshrc index 2cabf5e4..e526dbea 100644 --- a/home/dot_zshrc +++ b/home/dot_zshrc @@ -59,8 +59,11 @@ setopt PROMPT_SUBST setopt SHARE_HISTORY # 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" +autoload -Uz compinit zstyle ':completion:*:*:*:*:*' menu select zstyle ':completion:*' cache-path "$XDG_CACHE_HOME/zsh/zcompcache" zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'