diff --git a/home/.chezmoiscripts/universal/run_onchange_after_95-bootstrap-zsh-plugins.sh.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_95-bootstrap-zsh-plugins.sh.tmpl index fb685f6b..13ba367f 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_95-bootstrap-zsh-plugins.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_95-bootstrap-zsh-plugins.sh.tmpl @@ -15,6 +15,8 @@ ### Initialize ZSH so plugin bootstrap process is done ahead of time if command -v zsh > /dev/null; then logg info 'Bootstrapping ZSH by running `exec zsh`' - exec zsh + exec zsh & + logg info 'Waiting for exec zsh to finish' + wait fi {{ end -}}