66echo
77echo
88echo " 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"
1012echo " And all their distributions!"
1113echo
1214echo " =================================================================================================================="
1315echo
1416
1517# Step 0: Detect OS
16- echo " Step 0 : Detecting Operating System"
18+ echo " Step 1 : Detecting Operating System"
1719echo " ------------------------------------------------------------------------------------------------------------------"
1820OS=" "
1921if [ " $( uname) " = " Darwin" ]; then
5961echo
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"
6365echo " ------------------------------------------------------------------------------------------------------------------"
6466if command -v nvim > /dev/null 2>&1 ; then
6567 echo " INFO: Neovim is already installed on your system!"
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."
105108echo
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"
109112echo " ------------------------------------------------------------------------------------------------------------------"
110113echo " Checking for the following dependencies on your system:"
111114echo " Node, Python, Ripgrep, Lazygit, Htop"
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
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."
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"
189194echo " ------------------------------------------------------------------------------------------------------------------"
190195if [ -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
232237echo
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"
236241echo " ------------------------------------------------------------------------------------------------------------------"
237242# Clone the repository
238243git 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!"
253258echo " 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! 💻"
255268echo
256269echo
257-
0 commit comments