From 414852c9e8fb99bb5ae79401f0e746aacbb3c11c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 13 Apr 2014 09:38:30 +0100 Subject: Update and migrate fasd data file location --- hooks/post-up/zsh | 2 ++ tag-zsh/config/zsh/zshrc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hooks/post-up/zsh b/hooks/post-up/zsh index 085240df..e69362b4 100755 --- a/hooks/post-up/zsh +++ b/hooks/post-up/zsh @@ -38,3 +38,5 @@ zrecompile -p -R $ZDOTDIR/.zshrc.zwc $zfiles -- \ for fp in $ZDOTDIR/functions/*(/); do zrecompile -p $fp $fp/* done + +[[ -f ~/.zsh/fasd-data ]] && mv ~/.zsh/fasd-data ~/.cache/zsh/fasd-data diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 6535e0f2..eff40399 100755 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -354,7 +354,7 @@ ec () { fi } -_FASD_DATA="$HOME/.zsh/fasd-data" +_FASD_DATA="$HOME/.cache/zsh/fasd-data" source ~/.cache/zsh/fasd-init-zsh if [[ $OSTYPE == freebsd* ]]; then -- cgit 1.4.1