aboutsummaryrefslogtreecommitdiff
path: root/config/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'config/zsh')
-rw-r--r--config/zsh/50-completion.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/zsh/50-completion.zsh b/config/zsh/50-completion.zsh
index 740e9a3..d62dd3b 100644
--- a/config/zsh/50-completion.zsh
+++ b/config/zsh/50-completion.zsh
@@ -1,7 +1,7 @@
# initialize the completion system
autoload -U compinit
zmodload zsh/complist
-compinit -d "${XDG_CACHE_HOME:-${HOME}/.cache}/zsh/zcompdump-${ZSH_VERSION}"
+compinit -d "${XDG_CACHE_HOME:-${HOME}/.cache}/zsh/zcompdump"
# complete only after the second consecutive tab
setopt auto_menu
@@ -34,6 +34,7 @@ zstyle ':completion:*:hosts' hosts $hosts
# Use caching so that commands like apt and dpkg complete are useable
zstyle ':completion::complete:*' use-cache 1
+zstyle ':completion:*' cache-path "${XDG_CACHE_HOME:-${HOME}/.cache}/zsh/zcompcache"
# Don't complete uninteresting users
zstyle ':completion:*:*:*:users' ignored-patterns \