3cb1ef26ff
- /home/.chezmoiscripts/universal/run_onchange_after_94-bash-it.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_95-bootstrap-zsh-plugins.tmpl
14 lines
419 B
Bash
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 }}
|