diff options
author | Alan Pearce | 2014-04-13 12:00:37 +0100 |
---|---|---|
committer | Alan Pearce | 2014-04-13 12:00:37 +0100 |
commit | 44cfeceab6b1dde2d1e2887131a747e7ae6e30a2 (patch) | |
tree | 293fd24288f18d7bd7f9fea61307764a7b532b50 /hooks/post-up/zsh | |
parent | ad529fd05f192d37299a5e8d009baa5d16da30bb (diff) | |
download | nixfiles-44cfeceab6b1dde2d1e2887131a747e7ae6e30a2.tar.lz nixfiles-44cfeceab6b1dde2d1e2887131a747e7ae6e30a2.tar.zst nixfiles-44cfeceab6b1dde2d1e2887131a747e7ae6e30a2.zip |
zsh: Create compdump file before compiling it
Diffstat (limited to 'hooks/post-up/zsh')
-rwxr-xr-x | hooks/post-up/zsh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |