includes git config
This commit is contained in:
parent
73cf6237f9
commit
3eb2cef798
14
bootstrap.sh
14
bootstrap.sh
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue