From c79b2e03d26ee5636940937cd3d95c2a6afdc279 Mon Sep 17 00:00:00 2001 From: serxoz Date: Fri, 1 Jul 2022 12:21:09 +0200 Subject: [PATCH] install/clean scripts --- clean.sh | 19 +++++++++++++++++++ install.sh | 19 +++++++++++++++++++ nvim/clean.sh | 5 +++++ 3 files changed, 43 insertions(+) create mode 100644 clean.sh create mode 100644 install.sh create mode 100644 nvim/clean.sh diff --git a/clean.sh b/clean.sh new file mode 100644 index 0000000..36a231c --- /dev/null +++ b/clean.sh @@ -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 diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..ece7b08 --- /dev/null +++ b/install.sh @@ -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 diff --git a/nvim/clean.sh b/nvim/clean.sh new file mode 100644 index 0000000..5781b94 --- /dev/null +++ b/nvim/clean.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +rm -rf ~/.config/nvim +rm -rf ~/.local/share/nvim +rm -rf ~/.cache/nvim