#/bin/bash cd ~ cd .vim if [ $(git ls-remote https://mygit.i2g.ru/biv/vimconf.git master 2>/dev/null|awk '{print $1}') != $(git rev-parse HEAD) ] then git pull vim +PluginInstall +PluginClean! +qall fi