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"