From 3eb2cef79878ce1c6041489ce8f83ab24991bceb Mon Sep 17 00:00:00 2001 From: waldek Date: Tue, 23 Aug 2022 12:12:21 +0200 Subject: [PATCH] includes git config --- bootstrap.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index bf5b6d2..0fa1984 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,5 +1,7 @@ #!/bin/bash +MY_NAME="waldek" +MY_EMAIL="waldek@mailbox.org" MY_SHELL="zsh" MY_ZSH_THEME="robbyrussell" MY_BASH_THEME="vscode" @@ -23,3 +25,15 @@ cp ~/.oh-my-bash/templates/bashrc.osh-template ~/.bashrc # modify the theme of oh-my-zsh sed -i "s/font/$MY_BASH_THEME/g" ~/.bashrc +GIT_CONFIG_FILE=~/.gitconfig +touch $GIT_CONFIG_FILE +echo "[user]" >> $GIT_CONFIG_FILE +echo "name = $MY_NAME" >> $GIT_CONFIG_FILE +echo "email = $MY_EMAIL" >> $GIT_CONFIG_FILE + + + + + + +