From 60606d5459f67c73e9b612fff6c1769a7c39c1ef Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 20 Jan 2020 12:54:38 +1100 Subject: [PATCH] Do our own zcompile step for zshenv in particular, since it runs before the Zinit module has a chance to load --- config/zsh/zshenv | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/zsh/zshenv b/config/zsh/zshenv index 30519b2..52db592 100644 --- a/config/zsh/zshenv +++ b/config/zsh/zshenv @@ -1,2 +1,5 @@ setopt extended_glob -for f in $ZDOTDIR/all/^*.zwc(N); source $f +for f in $ZDOTDIR/all/^*.zwc(N); do + [[ ! -f $f.zwc ]] && zcompile $f + source $f +done