Skip to content

Commit f39f4e8

Browse files
committed
Made some minor tweaks
1 parent e0cae39 commit f39f4e8

2 files changed

Lines changed: 23 additions & 11 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,4 @@ If you wish to uninstall GarudaNvim and remove all related configuration, follow
116116
117117
If you encountered any issues while using **GarudaNvim**, or if you have suggestions for improvements, please raise an issue on the [Installer's Issue Page](https://github.com/GarudaNvim/Installer/issues)
118118
119-
Thank you for using GarudaNvim!
119+
Happy Coding with **GarudaNvim!** 💻

installGarudaNvim.sh

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
echo
77
echo
88
echo "Welcome to GarudaNvim!"
9-
echo "This installer supports Operating Systems like MacOS, Arch, Fedora, CentOS, RHEL, Ubuntu and Debian"
9+
echo ""
10+
echo "The installer supports Operating Systems like:"
11+
echo "MacOS, Arch, Fedora, CentOS, RHEL, Ubuntu and Debian"
1012
echo "And all their distributions!"
1113
echo
1214
echo "=================================================================================================================="
1315
echo
1416

1517
# Step 0: Detect OS
16-
echo "Step 0: Detecting Operating System"
18+
echo "Step 1: Detecting Operating System"
1719
echo "------------------------------------------------------------------------------------------------------------------"
1820
OS=""
1921
if [ "$(uname)" = "Darwin" ]; then
@@ -59,7 +61,7 @@ echo
5961
echo
6062

6163
# Step 1: Check if Neovim is installed
62-
echo "Step 1: Checking if Neovim is already installed"
64+
echo "Step 2: Checking if Neovim is already installed"
6365
echo "------------------------------------------------------------------------------------------------------------------"
6466
if command -v nvim >/dev/null 2>&1; then
6567
echo "INFO: Neovim is already installed on your system!"
@@ -93,6 +95,7 @@ else
9395
esac
9496

9597
if command -v nvim >/dev/null 2>&1; then
98+
echo
9699
echo "INFO: Neovim has been successfully installed!"
97100
else
98101
echo "ERROR: Failed to install Neovim. Please try installing it manually."
@@ -105,7 +108,7 @@ echo
105108
echo
106109

107110
# Step 1.5: Checking for System Dependencies
108-
echo "Step 1.5: Checking for System Dependencies"
111+
echo "Step 3: Checking for GarudaNvim Dependencies"
109112
echo "------------------------------------------------------------------------------------------------------------------"
110113
echo "Checking for the following dependencies on your system:"
111114
echo "Node, Python, Ripgrep, Lazygit, Htop"
@@ -130,6 +133,7 @@ else
130133
echo "INFO: Found installed dependencies: ${installed_dependencies[*]}"
131134
echo "INFO: Missing dependencies: ${missing_dependencies[*]}"
132135
for dep in "${missing_dependencies[@]}"; do
136+
echo
133137
read -p "Would you like to install $dep? (y/n): " install_choice
134138
if [ "$install_choice" = "y" ]; then
135139
case "$OS" in
@@ -171,6 +175,7 @@ else
171175
;;
172176
esac
173177
if command -v "$dep" >/dev/null 2>&1; then
178+
echo
174179
echo "INFO: $dep has been successfully installed!"
175180
else
176181
echo "WARNING: Failed to install $dep. Please install it manually if you want GarudaNvim to function smoothly."
@@ -185,7 +190,7 @@ echo
185190

186191

187192
# Step 2: Check for existing Neovim configuration
188-
echo "Step 2: Checking for existing Neovim configuration in ~/.config/nvim"
193+
echo "Step 4: Checking for existing Neovim configuration in ~/.config/nvim"
189194
echo "------------------------------------------------------------------------------------------------------------------"
190195
if [ -d ~/.config/nvim ]; then
191196
echo "WARNING: The directory ~/.config/nvim already exists."
@@ -204,7 +209,7 @@ if [ -d ~/.config/nvim ]; then
204209
echo "INFO: Existing configuration deleted."
205210
else
206211
echo
207-
echo "Step 1.5: Backup Options"
212+
echo "Step 4.5: Backup Options"
208213
echo "------------------------------------------------------------------------------------------------------------------"
209214
echo "You can either automatically backup your current Neovim configuration or manually do it."
210215
read -p "Would you like to automatically backup and proceed with the installation? (y/n): " backup_choice
@@ -232,7 +237,7 @@ echo
232237
echo
233238

234239
# Step 3: Cloning GarudaNvim repository
235-
echo "Step 3: Installing GarudaNvim to ~/.config/nvim"
240+
echo "Step 5: Installing GarudaNvim to ~/.config/nvim"
236241
echo "------------------------------------------------------------------------------------------------------------------"
237242
# Clone the repository
238243
git clone https://github.com/garudanvim/GarudaNvim.git ~/.config/nvim
@@ -249,9 +254,16 @@ echo
249254

250255

251256
# Success message and opening GarudaNvim
252-
echo "SUCCESS: GarudaNvim has been correctly installed!"
257+
echo "SUCCESS: Hurray! GarudaNvim has been correctly installed!"
253258
echo "Type \"nvim\" in your terminal to start GarudaNvim"
254-
echo "Happy Coding!"
259+
echo
260+
echo "NOTE: The first time you open GarudaNvim, it may take an additional 5-10 seconds to load."
261+
echo "During this time, GarudaNvim is setting up and downloading essential plugins for your environment."
262+
echo "Once the setup is complete, press 'q' to exit the lazy installation mode."
263+
echo
264+
echo "After exiting, please reopen GarudaNvim to start using it."
265+
echo "You’ll then be ready to enjoy GarudaNvim at full capacity with all configurations and plugins installed"
266+
echo
267+
echo "Happy Coding with GarudaNvim! 💻"
255268
echo
256269
echo
257-

0 commit comments

Comments
 (0)