updated README and the setup script

This commit is contained in:
2020-03-01 14:29:04 +01:00
parent b2981723be
commit c52b5cf302
3 changed files with 28 additions and 17 deletions

View File

@@ -37,10 +37,16 @@ WARNING: if you do, the existing ~/.screenrc will be deleted!
&& echo "~/.vim/ftplugin already exists, deal with it manually" \
|| ln -vs "$repo/ftplugin" "$HOME/.vim/ftplugin"
[ -d "$HOME/.vim/bundle" ] \
read -p "
Would you like to install plugin manager Vundle?
[y/n]: " responce
[[ "$responce" = "y" ]] \
&& { [ -d "$HOME/.vim/bundle" ] \
&& echo "You seem to already have some plugin manager installed" \
|| { mkdir -v "$HOME/.vim/bundle"; \
git clone -v https://github.com/VundleVim/Vundle.vim.git \
"$HOME/.vim/bundle/Vundle.vim"; }
"$HOME/.vim/bundle/Vundle.vim"; } } \
|| echo 'Not installing Vundle'
echo "Setup finished."