Skip to content

Instantly share code, notes, and snippets.

@rogervila
Created June 19, 2020 13:14
Show Gist options
  • Save rogervila/0826a521bd9dbba96c753fb77de53324 to your computer and use it in GitHub Desktop.
Save rogervila/0826a521bd9dbba96c753fb77de53324 to your computer and use it in GitHub Desktop.
Export variables from file
# Original: https://unix.stackexchange.com/questions/79064/how-to-export-variables-from-a-file
source .env
export $(cut -d= -f1 .env)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment