bootstrap.bash 379 B

123456789101112131415
  1. #!/usr/bin/env bash
  2. DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  3. git submodule update --init
  4. ln -sf $DIR/bashrc ~/.bashrc
  5. ln -sf $DIR/vimrc_plugins ~/.vimrc
  6. ln -sfT $DIR/vim ~/.vim
  7. ln -sf $DIR/gitconfig ~/.gitconfig
  8. source ~/.bashrc
  9. sudo apt-get install -y build-essential cmake python-dev
  10. vim +PluginInstall +qall
  11. cd $DIR/vim/bundle/YouCompleteMe && ./install.sh