Add .gitlocal include to .gitconfig

This commit is contained in:
Sage Vaillancourt 2021-10-06 13:50:04 -04:00
parent 44ff7c9a95
commit 403f1a8a5f
2 changed files with 21 additions and 4 deletions

View File

@ -1,7 +1,19 @@
[user]
name = Sage Vaillancourt
email = sagev9000@tutanota.com
name = Sage Vaillancourt
[core]
autocrlf = input
autocrlf = input
excludesfile = ~/.gitignore
[credential]
helper = store
helper = store
[push]
default = current
followTags = true
[help]
autocorrect = 1
[include]
path = ~/.gitlocal

View File

@ -33,6 +33,11 @@ ln -sf $SCRIPT_DIR/.vim/colors/* ~/.vim/colors/
touch ~/.zsh_local
if ! test -f ~/.gitlocal; then
echo "[user]" > ~/.gitlocal
echo " email = sagev9000@tutanota.com" >> ~/.gitlocal
fi
# Install required packages
if [[ "$1" == "--install" ]]; then
echo -n "Rust is "