bootstrap.bash 392 B

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