]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/vundle/vundle.plugin.zsh
...
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / vundle / vundle.plugin.zsh
1 function vundle-init () {
2   if [ ! -d ~/.vim/bundle/Vundle.vim/ ]
3   then
4     mkdir -p ~/.vim/bundle/Vundle.vim/
5   fi
6
7   if [ ! -d ~/.vim/bundle/Vundle.vim/.git ] && [ ! -f ~/.vim/bundle/Vundle.vim/.git ]
8   then
9     git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
10     echo "\n\tRead about vim configuration for vundle at https://github.com/VundleVim/Vundle.vim\n"
11   fi
12 }
13
14 function vundle () {
15   vundle-init
16   vim -c "execute \"PluginInstall\" | qa"
17 }
18
19 function vundle-update () {
20   vundle-init
21   vim -c "execute \"PluginInstall!\" | qa"
22 }
23
24 function vundle-clean () {
25   vundle-init
26   vim -c "execute \"PluginClean!\" | qa"
27 }