#!/bin/sh set -e BASEPATH=$HOME/.vinavim if [ -e $BASEPATH/.git ] then cd $BASEPATH && git pull else git clone https://github.com/gekorob/vinavim.git $BASEPATH fi if [ ! -e $HOME/.vim/bundle/Vundle.vim ] then git clone https://github.com/VundleVim/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim else cd $HOME/.vim/bundle/Vundle.vim && git pull fi ln -sf $BASEPATH/vimrc ~/.vimrc vim +PluginInstall! +PluginClean! +qall