speedie-nvim | Add new config

This commit is contained in:
speedie 2022-12-19 16:11:28 +01:00
parent 7809f0c810
commit 6a267368d2
2 changed files with 18 additions and 0 deletions

10
commit.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
if [ -e "$HOME/.config/nvim" ]; then
rm -rf .config/nvim
cp -r $HOME/.config/nvim .config/
git add .config/* commit.sh install.sh
git commit -a -m "speedie-nvim | Add new config"
git push
fi

8
install.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
echo 3; sleep 1; echo 2; sleep 1; echo 1; sleep 1
[ -e "$HOME/.config/nvim" ] && cp -r $HOME/.config/nvim /tmp/nvim-backup && rm -rf $HOME/.config/nvim
cp -r .config/nvim $HOME/.config/
echo "installed."