summary refs log tree commit diff stats
path: root/hooks/post-up/zsh
diff options
context:
space:
mode:
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 2d94d49..e3c733a 100755
--- a/hooks/post-up/zsh
+++ b/hooks/post-up/zsh
@@ -32,6 +32,8 @@ if [[ $OSTYPE == freebsd* ]]; then
 	zfiles+=$ZDOTDIR/freebsd.zsh
 fi
 
+autoload -Uz compinit
+compinit -u -d .cache/zsh/compdump
 zrecompile -p -R $ZDOTDIR/.zshrc.zwc $zfiles -- \
 	-M .cache/zsh/compdump