added git settings, including git aliases taken from https://github.com/garybernhardt/dotfiles/
This commit is contained in:
13
install.sh
13
install.sh
@@ -21,7 +21,7 @@ fi
|
||||
ROOT=`pwd`
|
||||
|
||||
###
|
||||
# bash_magic
|
||||
# bash
|
||||
###
|
||||
#clone repo
|
||||
$GIT clone https://github.com/Knewton/bash_magic.git bash/bash_magic
|
||||
@@ -47,6 +47,17 @@ if [ ! -f "${HOME}"/.bashrc ]; then
|
||||
ln -s "${HOME}"/.bash_profile "${HOME}"/.bashrc
|
||||
fi
|
||||
|
||||
###
|
||||
# git
|
||||
###
|
||||
echo -n "Enter your git name: "
|
||||
read NAME
|
||||
echo -n "Enter you git email: "
|
||||
read EMAIL
|
||||
echo -e "[user]\n\tname = ${NAME}\n\temail = ${EMAIL}" > "${HOME}"/.gitconfig
|
||||
cat git/gitconfig >> "${HOME}"/.gitconfig
|
||||
cp git/githelpers "${HOME}"/.githelpers
|
||||
|
||||
###
|
||||
# vim
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user