diff --git a/setup-neovim.sh b/setup-neovim.sh new file mode 100755 index 0000000..bf5c97d --- /dev/null +++ b/setup-neovim.sh @@ -0,0 +1,20 @@ +#!/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