diff options
author | Alan Pearce | 2014-04-13 09:38:30 +0100 |
---|---|---|
committer | Alan Pearce | 2014-04-13 09:38:30 +0100 |
commit | 414852c9e8fb99bb5ae79401f0e746aacbb3c11c (patch) | |
tree | cd1cd1d19eb8a1e326b444a90e0af2c5cf322607 | |
parent | b4f919d6b8969113181955cacb3c2e7bf14af67d (diff) | |
download | nixfiles-414852c9e8fb99bb5ae79401f0e746aacbb3c11c.tar.lz nixfiles-414852c9e8fb99bb5ae79401f0e746aacbb3c11c.tar.zst nixfiles-414852c9e8fb99bb5ae79401f0e746aacbb3c11c.zip |
Update and migrate fasd data file location
-rwxr-xr-x | hooks/post-up/zsh | 2 | ||||
-rwxr-xr-x | tag-zsh/config/zsh/zshrc | 2 |
2 files changed, 3 insertions, 1 deletions
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 |