aboutsummaryrefslogtreecommitdiff
path: root/neovim.sh
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-09-16 15:27:01 +0200
committersrdusr <trevorgray@srdusr.com>2023-09-16 15:27:01 +0200
commit3a3a4506fac92ef24ea6a999ceb871299b4aa4dc (patch)
tree8a32df7aab0bf04c82f543eb6ad18e1cd9ae94c9 /neovim.sh
parentcb71b3bd2e3394ccecc2fb39965290ad9810ead3 (diff)
downloaddotfiles-3a3a4506fac92ef24ea6a999ceb871299b4aa4dc.tar.gz
dotfiles-3a3a4506fac92ef24ea6a999ceb871299b4aa4dc.zip
Updating is more or less the same as installing
Diffstat (limited to 'neovim.sh')
-rwxr-xr-xneovim.sh24
1 files changed, 12 insertions, 12 deletions
diff --git a/neovim.sh b/neovim.sh
index 5bfe5e7..a43c593 100755
--- a/neovim.sh
+++ b/neovim.sh
@@ -132,7 +132,7 @@ update_version() {
valid_choice=false
while [ "$valid_choice" = false ]; do
# Determine which version to update to (nightly/stable)
- printf "Select version to update to:\n"
+ printf "Select version to install/update to:\n"
printf " 1. Nightly\n"
printf " 2. Stable\n"
printf " 3. Choose specific version by tag\n"
@@ -319,16 +319,16 @@ else
read -p "Install Neovim? (y/n): " install_choice
case $install_choice in
- [Yy] )
- choose_version
- ;;
- [Nn] )
- echo "Exiting..."
- exit
- ;;
- * )
- handle_error "Invalid choice. Please enter 'y' for yes or 'n' for no."
- ;;
+ [Yy])
+ choose_version
+ ;;
+ [Nn])
+ echo "Exiting..."
+ exit
+ ;;
+ *)
+ handle_error "Invalid choice. Please enter 'y' for yes or 'n' for no."
+ ;;
esac
fi
@@ -376,7 +376,7 @@ display_breaking_changes() {
# Main loop
while [ "$SHOW_PROMPT" -gt 0 ]; do
printf "Select an option:\n"
- printf " 1. Update Neovim\n"
+ printf " 1. Install/update Neovim\n"
printf " 2. Check for updates\n"
printf " 3. Uninstall Neovim\n"
printf " 4. Run Neovim\n"