Skip to content

Instantly share code, notes, and snippets.

@giohappy
Last active June 7, 2021 11:23
Show Gist options
  • Save giohappy/1c37210c600d42be37125b4cb0c1b513 to your computer and use it in GitHub Desktop.
Save giohappy/1c37210c600d42be37125b4cb0c1b513 to your computer and use it in GitHub Desktop.
Export env file bash script
#source ./export_env_file.sh ./.env
set -o allexport
. $1
set +o allexport
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment