From 44cfeceab6b1dde2d1e2887131a747e7ae6e30a2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 13 Apr 2014 12:00:37 +0100 Subject: zsh: Create compdump file before compiling it --- hooks/post-up/zsh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hooks/post-up') diff --git a/hooks/post-up/zsh b/hooks/post-up/zsh index 2d94d49a..e3c733ad 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 -- cgit 1.4.1