install vim plugins after installing vundle otherwise do nothgin
This commit is contained in:
parent
d21d617af9
commit
5c6ddd41cb
6
setup.sh
6
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"
|
||||
|
Loading…
Reference in New Issue
Block a user