Created
September 21, 2014 06:51
-
-
Save phadej/040264ed4e6b453a6712 to your computer and use it in GitHub Desktop.
Just source env-postgres-osx.sh to add psql to the PATH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POSTGRES_BIN=/Applications/Postgres.app/Contents/Versions/9.3/bin | |
if [ -d $POSTGRES_BIN ]; then | |
export DATABASE_URL=postgres:///`whoami` | |
export PATH=$PATH:$POSTGRES_BIN | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment