Skip to content

Instantly share code, notes, and snippets.

@laser
Created December 9, 2014 21:43
Show Gist options
  • Save laser/8f19bfbc250c8702aa8f to your computer and use it in GitHub Desktop.
Save laser/8f19bfbc250c8702aa8f to your computer and use it in GitHub Desktop.
source me
export DATABASE_URL="postgres://psql@localhost:5432/soundselect"
export BONSAI_URL=http://localhost:9200
export TZ='UTC'
export RBSS_HEAPDUMP_INTERVAL=5
@gmas
Copy link

gmas commented Dec 9, 2014

you can add this to ~/.zshrc to have it automatically set the ENV vars from sourceme.sh when you cd into the directory:

function chpwd() {
    if [ -r $PWD/sourceme.sh ]; then
        source $PWD/sourceme.sh
    fi
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment