fix: modify fish/git init script

This commit is contained in:
2024-06-08 16:24:22 +08:00
parent f0186eaefb
commit fd96710321
4 changed files with 25 additions and 8 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
echo 'Init git config'
src=$HOME/.gitconfig
if [ -f $src ]; then
mv $src $src.bak
fi
ln -s $HOME/.dotfile/git/.gitconfig $src