From c2dc38eb0b9946df780e789db3bee8648a63e7a3 Mon Sep 17 00:00:00 2001 From: Ninjdai Date: Wed, 20 Mar 2024 15:55:41 +0100 Subject: [PATCH] Update install-nvchad.sh Automatic plugin installation instead of manual --- install-nvchad.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install-nvchad.sh b/install-nvchad.sh index 6bf58f5..9fb4104 100644 --- a/install-nvchad.sh +++ b/install-nvchad.sh @@ -20,7 +20,7 @@ function main () cleanup - echo -e "${C_LIME}Script has finished running !${NO_FORMAT}" + echo -e "${C_LIME}Script has finished running ! Please run source ~/.bashrc or reopen your terminal !${NO_FORMAT}" } check_wget () @@ -93,8 +93,8 @@ check_and_install_nvchad () echo "Installing NvChad..." git clone https://github.com/NvChad/starter $NVIM_CONFIG - read -p "Neovim is about to launch. After it has finished installing plugins, please run ':MasonInstallAll' to install parsers (Press Enter to continue)" - nvim + read -p "Neovim is about to launch. After it has finished installing plugins, it should automatically exit ! (Press Enter to continue)" + nvim +MasonInstallAll +qall echo -e "${C_LIME}NvChad is now installed !${NO_FORMAT}" fi