You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
844 B
Bash
24 lines
844 B
Bash
# chezmoi:template:left-delimiter=#{{
|
|
#{{- /* vim: set filetype=zsh: */ -}}
|
|
|
|
#{{- if stat "/opt/homebrew/bin/brew" -}}
|
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
|
#{{- end }}
|
|
|
|
#{{- $home := .chezmoi.homeDir }}
|
|
#{{- range $file := (glob (joinPath $home ".config" "zsh" "zshrc.d" "*.zsh")) }}
|
|
source "#{{ replace $home "${HOME}" $file }}"
|
|
#{{- end }}
|
|
|
|
#{{- if stat (joinPath .chezmoi.homeDir "google-cloud-sdk" "path.zsh.inc" ) }}
|
|
# The next line updates PATH for the Google Cloud SDK.
|
|
if [ -f '#{{ .chezmoi.homeDir }}/google-cloud-sdk/path.zsh.inc' ]; then
|
|
. '#{{ .chezmoi.homeDir }}/google-cloud-sdk/path.zsh.inc';
|
|
fi
|
|
|
|
# The next line enables shell command completion for gcloud.
|
|
if [ -f '#{{ .chezmoi.homeDir }}/google-cloud-sdk/completion.zsh.inc' ]; then
|
|
. '#{{ .chezmoi.homeDir }}/google-cloud-sdk/completion.zsh.inc';
|
|
fi
|
|
#{{- end }}
|