diff options
author | william <mkwmms@users.noreply.github.com> | 2015-06-02 14:43:38 -0600 |
---|---|---|
committer | william <mkwmms@users.noreply.github.com> | 2015-06-02 14:43:38 -0600 |
commit | 7f232f69fe8140a919759ea3b0811a71247f11e1 (patch) | |
tree | 44157474b98b4728a23cba37d08555b3bdafe78d /plugins | |
parent | 9c755511f0c8e96eb893226ee43947bb3eef6666 (diff) | |
download | zsh-7f232f69fe8140a919759ea3b0811a71247f11e1.tar.gz zsh-7f232f69fe8140a919759ea3b0811a71247f11e1.tar.bz2 zsh-7f232f69fe8140a919759ea3b0811a71247f11e1.zip |
Respect $ZSH_CACHE_DIR when creating fasd's cache
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/fasd/fasd.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/fasd/fasd.plugin.zsh b/plugins/fasd/fasd.plugin.zsh index 8ad43fc23..472ab2b0f 100644 --- a/plugins/fasd/fasd.plugin.zsh +++ b/plugins/fasd/fasd.plugin.zsh @@ -1,5 +1,5 @@ if [ $commands[fasd] ]; then # check if fasd is installed - fasd_cache="$HOME/.fasd-init-cache" + fasd_cache="${ZSH_CACHE_DIR}/fasd-init-cache" if [ "$(command -v fasd)" -nt "$fasd_cache" -o ! -s "$fasd_cache" ]; then fasd --init auto >| "$fasd_cache" fi |