From 0644e85ad3a2b3455398b04ff4af98929d7a3f59 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sun, 21 Feb 2021 08:24:31 -0500 Subject: [PATCH] Fix $PATH --- bash/.profile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bash/.profile b/bash/.profile index 8cacfad..0d3ce2c 100644 --- a/bash/.profile +++ b/bash/.profile @@ -6,7 +6,7 @@ then fi export LEDGER_FILE="$HOME/journal.ledger" -PATH="$HOME/bin/":"$HOME/.local/bin":"$HOME/.gem/ruby/2.6.0/bin":"$HOME/.gem/ruby/2.5.0/bin":"$HOME/go/bin":"/opt/local/bin":"$PATH" +export PATH="$HOME/bin/":"$HOME/.local/bin":"$HOME/.gem/ruby/2.6.0/bin":"$HOME/.gem/ruby/2.5.0/bin":"$HOME/go/bin":"/opt/local/bin":"$PATH" EDITOR="$(which emacsclient)" export EDITOR @@ -19,3 +19,8 @@ export WORKON_HOME="$HOME/.local/share/virtualenvs" GPG_TTY=$(tty) export GPG_TTY + +if [ -d /Applications/Postgres.app ]; +then + export PATH=/Applications/Postgres.app/Contents/Versions/latest/bin:"$PATH" +fi