install/clean scripts

This commit is contained in:
serxoz 2022-07-01 12:21:09 +02:00
parent fa68b20dfb
commit c79b2e03d2
3 changed files with 43 additions and 0 deletions

19
clean.sh Normal file
View File

@ -0,0 +1,19 @@
#!/bin/sh
for i in `ls`
do
case $i in
README*)
;;
LICENSE*)
;;
install*)
;;
clean*)
;;
*)
echo "Borrando configuración de $i..."
sh $i/clean.sh
;;
esac
done

19
install.sh Normal file
View File

@ -0,0 +1,19 @@
#!/bin/sh
for i in `ls`
do
case $i in
README*)
;;
LICENSE*)
;;
install*)
;;
clean*)
;;
*)
echo "Instalando configuración de $i..."
sh $i/install.sh
;;
esac
done

5
nvim/clean.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
rm -rf ~/.config/nvim
rm -rf ~/.local/share/nvim
rm -rf ~/.cache/nvim