surely gitconfig exists before rm

This commit is contained in:
Aminda Suomalainen 2024-02-26 10:03:41 +02:00
parent 3099179891
commit b99e524d46
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -12,6 +12,7 @@ cat rc/zshrc >~/.zshrc
cat rc/profile >~/.profile
mkdir -p ~/.config/git
cat conf/gitconfig >~/.config/git/config
touch ~/.gitconfig
rm ~/.gitconfig
ln -sfv ~/.config/git/config ~/.gitconfig
mkdir -p ~/.git-template