Source system-specific .env, if it exists

This commit is contained in:
Eryn Wells 2013-08-29 14:54:01 -07:00
parent 34a6943d73
commit e3bc9f91bc

6
env
View file

@ -57,6 +57,12 @@ case $SYS in
;;
esac
# System specific settings
if [[ -e "$HOME/.env.$SYS" ]]; then
print_info -l 2 "Sourcing environment setup for $SYS systems"
source "$HOME/.env.$SYS"
fi
# Local environment settings
if [ -e $HOME/.env.local ]; then
print_info -l 2 "Sourcing local environment setup"