Skip to content

Instantly share code, notes, and snippets.

@nicbet
Created February 22, 2018 14:17
Show Gist options
  • Save nicbet/3a5f2d95ebc1164504db6d0e79411d3c to your computer and use it in GitHub Desktop.
Save nicbet/3a5f2d95ebc1164504db6d0e79411d3c to your computer and use it in GitHub Desktop.
Load all variables set in .env file into current shell session environment
export $(grep -v "^#" .env | xargs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment