Skip to content

Instantly share code, notes, and snippets.

@pataruco
Created February 15, 2020 13:44
Show Gist options
  • Save pataruco/0bf9f6e0aa05f48ee63b429fe14d9783 to your computer and use it in GitHub Desktop.
Save pataruco/0bf9f6e0aa05f48ee63b429fe14d9783 to your computer and use it in GitHub Desktop.
environmental variables that work on shell and dotenv
#!/bin/bash
set -euo pipefail
set -a
source .env
set +a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment