shell/uninstall/lazynvim

17 lines
310 B
Plaintext
Raw Normal View History

2025-01-17 11:07:28 +00:00
#!/usr/bin/env bash
2024-11-22 01:32:36 +00:00
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"