Created
April 23, 2020 16:31
-
-
Save tlrobinson/6a24446ba1cc3401e0ac263cbc808590 to your computer and use it in GitHub Desktop.
evaluate and export .env files
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
# evaluates .env and exports all variables inside of it | |
source .env && export $(grep -oE "^[^=]+" .env) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment