Rollback to use .profile.

This commit is contained in:
Gea-Suan Lin
2014-11-05 02:29:04 +08:00
parent 8a0f9cef08
commit 67471ca8b0
3 changed files with 5 additions and 3 deletions

View File

@@ -1,2 +0,0 @@
#
source ${HOME}/.bashrc

4
.profile Normal file
View File

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

View File

@@ -12,8 +12,8 @@ git submodule update --init
cp ${BASEDIR}/.inputrc ~/ cp ${BASEDIR}/.inputrc ~/
# #
cp ${BASEDIR}/.bash_profile ~/
cp ${BASEDIR}/.bashrc ~/ cp ${BASEDIR}/.bashrc ~/
cp ${BASEDIR}/.profile ~/
cp ${BASEDIR}/.zshrc ~/ cp ${BASEDIR}/.zshrc ~/
if [ ! -e ~/.bashrc ]; then if [ ! -e ~/.bashrc ]; then
cp ${BASEDIR}/.bashrc.local ~/ cp ${BASEDIR}/.bashrc.local ~/