includes git config

This commit is contained in:
waldek 2022-08-23 12:12:21 +02:00
parent 73cf6237f9
commit 3eb2cef798
1 changed files with 14 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
MY_NAME="waldek"
MY_EMAIL="waldek@mailbox.org"
MY_SHELL="zsh" MY_SHELL="zsh"
MY_ZSH_THEME="robbyrussell" MY_ZSH_THEME="robbyrussell"
MY_BASH_THEME="vscode" MY_BASH_THEME="vscode"
@ -23,3 +25,15 @@ cp ~/.oh-my-bash/templates/bashrc.osh-template ~/.bashrc
# modify the theme of oh-my-zsh # modify the theme of oh-my-zsh
sed -i "s/font/$MY_BASH_THEME/g" ~/.bashrc 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