all repos — archive/dotfiles @ 44cfeceab6b1dde2d1e2887131a747e7ae6e30a2

Superseded by nixfiles

zsh: Create compdump file before compiling it
Alan Pearce alan@alanpearce.co.uk
Sun, 13 Apr 2014 12:00:37 +0100
commit

44cfeceab6b1dde2d1e2887131a747e7ae6e30a2

parent

ad529fd05f192d37299a5e8d009baa5d16da30bb

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M hooks/post-up/zshhooks/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