From 5c6ddd41cbc04fcc067c0543f751d6e6fc6750de Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Sat, 13 Mar 2021 03:10:17 +0000 Subject: [PATCH] install vim plugins after installing vundle otherwise do nothgin --- setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 70b4fe0..2c8d6e0 100755 --- a/setup.sh +++ b/setup.sh @@ -113,8 +113,7 @@ then case $yn in [Yy]* ) git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim - break;; - [Nn]* ) + # ask to install plugins after vundle installed while true; do read -p "Do you want to install the vim plugins now?" yn case $yn in @@ -124,8 +123,9 @@ then esac done break;; + [Nn]* ) + break;; * ) echo "Please answer yes or no.";; esac done fi -echo "you may need to run vim and execute :PluginInstall to sync packages with the new .vimrc, or \"vim +PluginInstall +qall\" from the command line"