Added .bashrc to list of profile files checked

This commit is contained in:
Graeme Christie 2014-05-26 00:46:11 +08:00
parent c4b07280b6
commit f2c4a0d39f
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ echo
if [ -z "$PROFILE" ]; then
if [ -f "$HOME/.bash_profile" ]; then
PROFILE="$HOME/.bash_profile"
if [ -f "$HOME/.bashrc" ]; then
PROFILE="$HOME/.bashrc"
elif [ -f "$HOME/.zshrc" ]; then
PROFILE="$HOME/.zshrc"
elif [ -f "$HOME/.profile" ]; then