lazynvim WIP

This commit is contained in:
2024-11-22 09:32:36 +08:00
parent 1a912bf645
commit e95ccf042b
2 changed files with 80 additions and 0 deletions

16
uninstall/lazynvim Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
set -eo pipefail
trap ontrap SIGINT SIGTERM SIGSTOP
ontrap() {
echo
echo "[!] Interrupted"
exit
}
echo "[*] Uninstalling neovim"
find "$HOME/.config" -type f -path "*/nvim*" -exec rm -rfv {} +
find "$HOME/.local" -type f -path "*/nvim*" -exec rm -rfv {} +
echo "[*] Finish"