summary refs log tree commit diff stats
path: root/user/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'user/zsh/zshrc')
-rw-r--r--user/zsh/zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/user/zsh/zshrc b/user/zsh/zshrc
index e973b3a1..b2c76e1a 100644
--- a/user/zsh/zshrc
+++ b/user/zsh/zshrc
@@ -60,6 +60,9 @@ ds () {
 hash -d p=$ghq_root[0]
 hash -d go=${GOPATH:-$HOME/go}
 
+zstyle ':completion:*' use-cache on
+zstyle ':completion:*' cache-path ${XDG_CACHE_HOME:-$HOME/.cache}/zsh/completion
+
 zle -C hist-complete complete-word _generic
 zstyle ':completion:hist-complete:*' completer _history
 bindkey '\e ' hist-complete