Skip to content

Commit

Permalink
git-extra: Simplify a message displayed to the user by bash_profile.sh
Browse files Browse the repository at this point in the history
Signed-off-by: David Macek <david.macek.0@gmail.com>
  • Loading branch information
elieux committed Jan 7, 2016
1 parent e7a762b commit e29fde9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-extra/bash_profile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
if [ -e ~/.bashrc -a ! -e ~/.bash_profile -a ! -e ~/.bash_login -a ! -e ~/.profile ]; then
printf "\n\033[31mWARNING: Found ~/.bashrc but no ~/.bash_profile, ~/.bash_login or ~/.profile.\033[m\n\n"
echo "This looks like an incorrect setup."
echo "A ~/.bash_profile containing \"if [ -f ~/.bashrc ]; then . ~/.bashrc; fi\" will be created for you."
echo "A ~/.bash_profile that loads ~/.bashrc will be created for you."
cat >~/.bash_profile <<\EOF
# generated by Git for Windows
test -f ~/.profile && . ~/.profile
Expand Down

0 comments on commit e29fde9

Please sign in to comment.