summary refs log tree commit diff stats
path: root/hooks/post-up
diff options
context:
space:
mode:
authorAlan Pearce2014-04-14 07:52:58 +0100
committerAlan Pearce2014-04-14 07:52:58 +0100
commit85e52fb2ea3dbf0f8ee7f86027ed5bf0854905be (patch)
tree8373352842e93eb402dcfae690bfafdbfe7141d1 /hooks/post-up
parent86f656ea85b7e1e94c9a82ec1da669f5fad8ba65 (diff)
downloaddotfiles-85e52fb2ea3dbf0f8ee7f86027ed5bf0854905be.tar.lz
dotfiles-85e52fb2ea3dbf0f8ee7f86027ed5bf0854905be.tar.zst
dotfiles-85e52fb2ea3dbf0f8ee7f86027ed5bf0854905be.zip
Use correct path for zsh compdump in post-up hook
Diffstat (limited to 'hooks/post-up')
-rwxr-xr-xhooks/post-up/zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/post-up/zsh b/hooks/post-up/zsh
index e3c733a..dda5ec9 100755
--- a/hooks/post-up/zsh
+++ b/hooks/post-up/zsh
@@ -33,9 +33,9 @@ if [[ $OSTYPE == freebsd* ]]; then
 fi
 
 autoload -Uz compinit
-compinit -u -d .cache/zsh/compdump
+compinit -u -d ~/.cache/zsh/compdump
 zrecompile -p -R $ZDOTDIR/.zshrc.zwc $zfiles -- \
-	-M .cache/zsh/compdump
+	-M ~/.cache/zsh/compdump
 
 if [[ -s $commands[fasd] ]]; then
 	if [[ ! -d $ZDOTDIR/functions/fasd ]]; then