2023-12-01 17:32:59 +00:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
printf "Continue copying files and removing current for Neovim (y/n)? "
|
|
|
|
read -r choice
|
2024-04-13 08:49:11 +00:00
|
|
|
case "$choice" in
|
|
|
|
y | Y)
|
|
|
|
echo "removing current neovim config..."
|
|
|
|
rm -rfv ~/.config/nvim/*
|
|
|
|
echo "copying files..."
|
|
|
|
cp -rv * ~/.config/nvim/
|
|
|
|
;;
|
|
|
|
n | N)
|
|
|
|
echo "aborting..."
|
|
|
|
exit 0
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "invalid"
|
|
|
|
exit 1
|
|
|
|
;;
|
2023-12-01 17:32:59 +00:00
|
|
|
esac
|