Last active
August 29, 2015 14:04
-
-
Save esebastian/9be9f65dd636872470b0 to your computer and use it in GitHub Desktop.
Load environment variables from '.env' into the current shell session
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
# execute on the prompt or define it as a shell function | |
for i in `cat .env`; do | |
export $i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment