Last active
February 19, 2022 18:02
-
-
Save hwshim0810/5c6493248f9e58783b36074fd2af2234 to your computer and use it in GitHub Desktop.
Read dotenv and export env variables with ignore comment, alias in shell script
This file contains 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 $(cat .env | grep -v ^# | grep -v ^alias | xargs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment