speedie-nvim | Add new config
This commit is contained in:
parent
7809f0c810
commit
6a267368d2
10
commit.sh
Executable file
10
commit.sh
Executable 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
8
install.sh
Executable 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."
|
Loading…
Reference in a new issue