Created
December 10, 2019 14:09
-
-
Save zlargon/9b1350b51ffc3f3291bc3bed31b0827f to your computer and use it in GitHub Desktop.
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
# get env var | |
function get_env() { | |
VAR=$(grep ${1} .env) | |
echo ${VAR#*=} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment