chdir to .vim before doing anything
[dotvim.git] / init.sh
1 #!/usr/bin/env bash
2 cd $HOME/.vim
3 git stash
4 git pull
5 git stash pop
6
7 git config --local --replace remote.pushDefault ssh://src.twobees.de:/git/dotvim.git
8
9 if [ -d bundle/Vundle.vim ];then
10     cd bundle/Vundle.vim;
11     echo "Update Vundle:"
12     git pull
13     cd -
14 else
15     git clone https://github.com/VundleVim/Vundle.vim.git bundle/Vundle.vim
16 fi
17 vim +PluginClean! +PluginInstall! +qall
18 stty sane