Add sourcing of extra global home stored environment variables

This commit is contained in:
Andrew R. M 2021-04-08 18:11:43 +00:00
parent 7183911d64
commit 56e2f5f7a7

View File

@ -35,6 +35,11 @@ if [ -z "$__PROFILE_DONE" ]; then
. $HOME/.profile . $HOME/.profile
fi fi
# Source .env to extend with secret/sensitive environment variables if it exists
if [ -r "$HOME/.env" ]; then
. "$HOME/.env"
fi
# Source aliases, if they exist # Source aliases, if they exist
if [ -f "$HOME/.aliases" ] && [ -r "$HOME/.aliases" ]; then if [ -f "$HOME/.aliases" ] && [ -r "$HOME/.aliases" ]; then