vundle.plugin.zsh 654 B

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