summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-10-04 12:03:01 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-10-04 12:03:01 -0500
commita600784d9d2ac77abfbaa50450835f139d712419 (patch)
tree708355076015e0a3f896e624660289f0f5bac0ae /zshrc
parent7cbb47dc282e18a0b89eedf4804d8a00790cbad0 (diff)
downloadzsh-a600784d9d2ac77abfbaa50450835f139d712419.tar.xz
zsh-a600784d9d2ac77abfbaa50450835f139d712419.zip
updates default programs and xdg environs. use xdg dirs for completion files
Diffstat (limited to 'zshrc')
-rwxr-xr-xzshrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/zshrc b/zshrc
index 437dd8e..cc0bedf 100755
--- a/zshrc
+++ b/zshrc
@@ -29,4 +29,9 @@ setopt INTERACTIVE_COMMENTS # Comments won't be interpreted in an interactive s
# Disable bell
unsetopt BEEP
-zplugInitialize # Load zsh plugins using zplug; goes last
+# Use XDG dirs for completion files
+zstyle ':completion:*' cache-path "$XDG_CACHE_HOME"/zcompcache
+compinit -d "$XDG_CACHE_HOME"/zcompdump-$ZSH_VERSION
+
+# Load zsh plugins using zplug; goes last
+zplugInitialize