diff --git a/dot_config/profile/profile.d/base.sh.tmpl b/dot_config/profile/profile.d/base.sh.tmpl index 2e0ce20..4521a20 100644 --- a/dot_config/profile/profile.d/base.sh.tmpl +++ b/dot_config/profile/profile.d/base.sh.tmpl @@ -19,6 +19,13 @@ if [ -d /usr/local/opt/mysql-client/bin ] ; then fi #{{- end }} +#{{- if stat "/usr/local/Cellar/postgresql@14/14.15/bin" }} +#{{/* if postgres client is installed from homebrew */}} +if [ -d /usr/local/Cellar/postgresql@14/14.15/bin ] ; then + PATH="/usr/local/Cellar/postgresql@14/14.15/bin:${PATH}" +fi +#{{- end }} + #{{- if stat "{{ .chezmoi.homeDir }}/google-cloud-sdk/bin" }} if [ -d "{{ .chezmoi.homeDir }}/google-cloud-sdk/bin" ] ; then PATH="${PATH}:{{ .chezmoi.homeDir }}/google-cloud-sdk/bin"