Use homebrew postgres if present
This commit is contained in:
parent
ac7fa0d27c
commit
b8a787c74e
@ -19,6 +19,13 @@ if [ -d /usr/local/opt/mysql-client/bin ] ; then
|
|||||||
fi
|
fi
|
||||||
#{{- end }}
|
#{{- 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 stat "{{ .chezmoi.homeDir }}/google-cloud-sdk/bin" }}
|
||||||
if [ -d "{{ .chezmoi.homeDir }}/google-cloud-sdk/bin" ] ; then
|
if [ -d "{{ .chezmoi.homeDir }}/google-cloud-sdk/bin" ] ; then
|
||||||
PATH="${PATH}:{{ .chezmoi.homeDir }}/google-cloud-sdk/bin"
|
PATH="${PATH}:{{ .chezmoi.homeDir }}/google-cloud-sdk/bin"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user