Created
February 9, 2019 12:40
-
-
Save fentas/d74a8ef539ad8efd4f2ad20fc6dae3d9 to your computer and use it in GitHub Desktop.
simple dot env file loading in bash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export $(grep -v '^#' .env | xargs -d '\n') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment