Neovim/setup-neovim.sh

21 lines
406 B
Bash
Raw Permalink Normal View History

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
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
;;
esac