summary refs log tree commit diff stats
path: root/hooks/post-up/zsh
diff options
context:
space:
mode:
authorAlan Pearce2014-04-13 09:38:30 +0100
committerAlan Pearce2014-04-13 09:38:30 +0100
commit414852c9e8fb99bb5ae79401f0e746aacbb3c11c (patch)
treecd1cd1d19eb8a1e326b444a90e0af2c5cf322607 /hooks/post-up/zsh
parentb4f919d6b8969113181955cacb3c2e7bf14af67d (diff)
downloadnixfiles-414852c9e8fb99bb5ae79401f0e746aacbb3c11c.tar.lz
nixfiles-414852c9e8fb99bb5ae79401f0e746aacbb3c11c.tar.zst
nixfiles-414852c9e8fb99bb5ae79401f0e746aacbb3c11c.zip
Update and migrate fasd data file location
Diffstat (limited to 'hooks/post-up/zsh')
-rwxr-xr-xhooks/post-up/zsh2
1 files changed, 2 insertions, 0 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