Fix Git username and email setting on a new install

master
nirenjan 2015-02-26 17:54:11 -08:00
parent 228b93ad13
commit 01434fff9d
1 changed files with 4 additions and 4 deletions

View File

@ -165,11 +165,11 @@ then
echo "Installing gitconfig" echo "Installing gitconfig"
cp -v gitconfig ~/.gitconfig cp -v gitconfig ~/.gitconfig
echo -n "What is your default Git username? " echo -n "What is your default Git username? "
read $GIT_USER read GIT_USER
echo -n "What is your default Git e-mail address? " echo -n "What is your default Git e-mail address? "
read $GIT_EMAIL read GIT_EMAIL
git config --global user.name $GIT_USER git config --global user.name "$GIT_USER"
git config --global user.email $GIT_EMAIL git config --global user.email "$GIT_EMAIL"
fi fi
# Install git prompt functions # Install git prompt functions