install vim plugins after installing vundle otherwise do nothgin

This commit is contained in:
Paul Trowbridge 2021-03-13 03:10:17 +00:00
parent d21d617af9
commit 5c6ddd41cb

View File

@ -113,8 +113,7 @@ then
case $yn in case $yn in
[Yy]* ) [Yy]* )
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
break;; # ask to install plugins after vundle installed
[Nn]* )
while true; do while true; do
read -p "Do you want to install the vim plugins now?" yn read -p "Do you want to install the vim plugins now?" yn
case $yn in case $yn in
@ -124,8 +123,9 @@ then
esac esac
done done
break;; break;;
[Nn]* )
break;;
* ) echo "Please answer yes or no.";; * ) echo "Please answer yes or no.";;
esac esac
done done
fi 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"