]> arthur.barton.de Git - ax-zsh.git/commitdiff
50_completion: Save "compdump" file in cache directory
authorAlexander Barton <alex@barton.de>
Sun, 19 Jul 2015 15:01:54 +0000 (17:01 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 19 Jul 2015 15:01:54 +0000 (17:01 +0200)
core/50_completion/50_completion.zshrc

index 1869647da109695fdf2c1cf6901099c03d7fa20d..ffb95df4ac486650f3e9e85adaf18ce71fcab44b 100644 (file)
@@ -31,7 +31,7 @@ zstyle ':completion:*:*:*:users' ignored-patterns \
 
 # Save the location of the current completion dump file.
 if [[ -z "$ZSH_COMPDUMP" ]]; then
-       ZSH_COMPDUMP="${ZDOTDIR:-$HOME}/.zcompdump-${SHORT_HOST}-${ZSH_VERSION}"
+       ZSH_COMPDUMP="$ZSH_CACHE_DIR/zcompdump-${SHORT_HOST}-${ZSH_VERSION}"
 fi
 
 # Initialize ZSH completion system