Run .bashrc only if running bash.

This commit is contained in:
Gea-Suan Lin
2014-11-05 02:16:14 +08:00
parent 8e8346d8a6
commit 378c7f31b9

View File

@@ -1,2 +1,4 @@
# #
if [ "$SHELL" == "/bin/bash" -o "$SHELL" == "/usr/local/bin/bash" ]; then
source ${HOME}/.bashrc source ${HOME}/.bashrc
fi