Skip to content

Instantly share code, notes, and snippets.

@sibelius
Created November 17, 2015 18:28
Show Gist options
  • Save sibelius/5ff088e992b620940b60 to your computer and use it in GitHub Desktop.
Save sibelius/5ff088e992b620940b60 to your computer and use it in GitHub Desktop.
Myenvs
function myenvs() {
if [[ $# -ne 1 ]]; then
export $(cat .env | xargs)
else
export $(cat $1 | xargs)
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment