From 5cd8a7610ebefaf02a3628ab62d1852df1e888a7 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Tue, 22 Nov 2022 04:09:14 +0000 Subject: [PATCH] Update dotfiles/.local/share/chezmoi/dot_zshrc.tmpl.sh, dotfiles/.local/share/chezmoi/dot_cache/zsh/.gitkeep --- dotfiles/.local/share/chezmoi/dot_cache/zsh/.gitkeep | 1 + .../.local/share/chezmoi/{dot_zshrc.tmpl => dot_zshrc.tmpl.sh} | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 dotfiles/.local/share/chezmoi/dot_cache/zsh/.gitkeep rename dotfiles/.local/share/chezmoi/{dot_zshrc.tmpl => dot_zshrc.tmpl.sh} (98%) diff --git a/dotfiles/.local/share/chezmoi/dot_cache/zsh/.gitkeep b/dotfiles/.local/share/chezmoi/dot_cache/zsh/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/dotfiles/.local/share/chezmoi/dot_cache/zsh/.gitkeep @@ -0,0 +1 @@ + diff --git a/dotfiles/.local/share/chezmoi/dot_zshrc.tmpl b/dotfiles/.local/share/chezmoi/dot_zshrc.tmpl.sh similarity index 98% rename from dotfiles/.local/share/chezmoi/dot_zshrc.tmpl rename to dotfiles/.local/share/chezmoi/dot_zshrc.tmpl.sh index 5f81df55..6312f1c3 100644 --- a/dotfiles/.local/share/chezmoi/dot_zshrc.tmpl +++ b/dotfiles/.local/share/chezmoi/dot_zshrc.tmpl.sh @@ -51,8 +51,9 @@ setopt SHARE_HISTORY # ZSH completion system autoload -Uz compinit -compinit -d ~/.cache/zcompdump +compinit -d "$XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION" zstyle ':completion:*:*:*:*:*' menu select +zstyle ':completion:*' cache-path "$XDG_CACHE_HOME/zsh/zcompcache" zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" zstyle ':completion:*' auto-description 'specify: %d'