From 612f7915e3c95206a8201dfbdcc4983d2c4d04f0 Mon Sep 17 00:00:00 2001 From: nirenjan Date: Fri, 3 May 2013 22:06:18 -0700 Subject: [PATCH] Add git_prompt.sh download to install --- install | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/install b/install index 5af3021..aa1bf94 100755 --- a/install +++ b/install @@ -142,6 +142,14 @@ then git config --global user.email $GIT_EMAIL 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 ####################################################################### @@ -205,8 +213,7 @@ lnfile dircolors ~/.dir_colors if [[ $PRINT_INST == 1 ]] 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.lscolors" fi