summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
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