Last active
March 17, 2017 16:07
-
-
Save adampats/3019ab6107bf1a9229b398c22b55f758 to your computer and use it in GitHub Desktop.
Set environment variables from key/value file
This file contains hidden or 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
export $(cat config.env | grep -v ^# | xargs) |
This file contains hidden or 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
VAR1=foo | |
VAR2=bar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment