Skip to content

Instantly share code, notes, and snippets.

@tlrobinson
Created April 23, 2020 16:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tlrobinson/6a24446ba1cc3401e0ac263cbc808590 to your computer and use it in GitHub Desktop.
Save tlrobinson/6a24446ba1cc3401e0ac263cbc808590 to your computer and use it in GitHub Desktop.
evaluate and export .env files
# 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