Created
June 9, 2022 18:31
-
-
Save ajmeese7/ddfe51cfc40cfd27dc0f4a4eb1b8712c to your computer and use it in GitHub Desktop.
Used to source `.env` files in Bash to be used as variables.
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
#!/bin/bash | |
export $(sed 's/#.*//g' .env | xargs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment