Add git_prompt.sh download to install

vimbundler
nirenjan 2013-05-03 22:06:18 -07:00
parent 76792ae62e
commit 612f7915e3
1 changed files with 9 additions and 2 deletions

11
install
View File

@ -142,6 +142,14 @@ then
git config --global user.email $GIT_EMAIL git config --global user.email $GIT_EMAIL
fi fi
# Install git prompt functions
if [[ ! -e ~/.git_prompt.sh ]]
then
echo "Installing Git prompt functionality..."
curl -Sso ~/.git_prompt.sh \
https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh
fi
####################################################################### #######################################################################
# Install vimrc & plugins # Install vimrc & plugins
####################################################################### #######################################################################
@ -205,8 +213,7 @@ lnfile dircolors ~/.dir_colors
if [[ $PRINT_INST == 1 ]] if [[ $PRINT_INST == 1 ]]
then then
echo "Add the following lines to your ~/.bashrc file" echo "Add the following line to your ~/.bashrc file"
echo " source ~/.bashrc.common" echo " source ~/.bashrc.common"
echo " source ~/.bashrc.lscolors"
fi fi