From 67471ca8b0574145db401a258dd54ee88928ebb6 Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Wed, 5 Nov 2014 02:29:04 +0800 Subject: [PATCH] Rollback to use .profile. --- .bashrc_profile | 2 -- .profile | 4 ++++ install.sh | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) delete mode 100644 .bashrc_profile create mode 100644 .profile diff --git a/.bashrc_profile b/.bashrc_profile deleted file mode 100644 index 799f276..0000000 --- a/.bashrc_profile +++ /dev/null @@ -1,2 +0,0 @@ -# -source ${HOME}/.bashrc diff --git a/.profile b/.profile new file mode 100644 index 0000000..c5d8af9 --- /dev/null +++ b/.profile @@ -0,0 +1,4 @@ +# +if [ "$SHELL" == "/bin/bash" -o "$SHELL" == "/usr/local/bin/bash" ]; + source ${HOME}/.bashrc +fi diff --git a/install.sh b/install.sh index b756eb6..ac278be 100755 --- a/install.sh +++ b/install.sh @@ -12,8 +12,8 @@ git submodule update --init cp ${BASEDIR}/.inputrc ~/ # -cp ${BASEDIR}/.bash_profile ~/ cp ${BASEDIR}/.bashrc ~/ +cp ${BASEDIR}/.profile ~/ cp ${BASEDIR}/.zshrc ~/ if [ ! -e ~/.bashrc ]; then cp ${BASEDIR}/.bashrc.local ~/