UpdateVimPlugins 488 B

123456789101112131415161718192021
  1. #!/bin/bash
  2. DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  3. git submodule foreach git pull origin master
  4. echo "Compiling YouCompleteMe"
  5. cd "$DIR"/vim/bundle/YouCompleteMe
  6. ./install.sh
  7. read -p "Auto install exuberant-ctags? [y/N] " -n 1 -r
  8. if [[ $REPLY =~ ^[Yy]$ ]]; then
  9. echo ""
  10. git clone git://github.com/jakedouglas/exuberant-ctags.git ~/exuberant-ctags
  11. cd ~/exuberant-ctags
  12. ./configure
  13. make
  14. sudo make install
  15. rm -rf ~/exuberant-ctags
  16. fi
  17. echo ""