install.fairie/home/.chezmoiscripts/universal/run_onchange_after_95-bootstrap-zsh-plugins.tmpl
Brian Zalewski 3cb1ef26ff Update 2 files
- /home/.chezmoiscripts/universal/run_onchange_after_94-bash-it.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_95-bootstrap-zsh-plugins.tmpl
2023-03-27 07:03:32 +00:00

14 lines
419 B
Bash

#!/usr/bin/env bash
{{- if (eq .host.headless true) }}
# .zshrc hash: {{ include (joinPath .chezmoi.homeDir ".zshrc")| sha256sum }}
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}
### 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 && exit 0`'
exec zsh && exit 0
fi
{{ end }}