Add ~/.gitconfig

This commit is contained in:
c47 2024-01-16 19:25:55 +01:00
parent c24f987677
commit c1d7f3e2ab
2 changed files with 10 additions and 0 deletions

5
gitconfig Normal file
View file

@ -0,0 +1,5 @@
[user]
name = c47
email = c47@nixre.net
[init]
defaultBranch = main

View file

@ -18,6 +18,11 @@ for config in ${WORKING_DIR}/bash/*; do
fi
done
# Gitconfig
if [[ ! -L ${HOME}/.gitconfig ]]; then
ln -s ${WORKING_DIR}/gitconfig .gitconfig
fi
# Neovim
if [[ ! -L ${CONFIG_DIR}/nvim ]]; then