Browse Source

Split bootstrap script

Taddeus Kroes 10 years ago
parent
commit
0fdb3f039e
2 changed files with 13 additions and 5 deletions
  1. 11 0
      bootstrap-full.bash
  2. 2 5
      bootstrap.bash

+ 11 - 0
bootstrap-full.bash

@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+
+source $DIR/bootstrap.bash
+
+ln -sf $DIR/vimrc_plugins ~/.vimrc
+
+sudo apt-get install -y build-essential cmake python-dev
+
+vim +PluginInstall +qall
+cd $DIR/vim/bundle/YouCompleteMe && ./install.sh

+ 2 - 5
bootstrap.bash

@@ -1,16 +1,13 @@
 #!/usr/bin/env bash
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 
-sudo apt-get install -y build-essential cmake python-dev git vim-nox
+sudo apt-get install -y git vim-nox
 
 git submodule update --init
 
 ln -sf $DIR/bashrc ~/.bashrc
-ln -sf $DIR/vimrc_plugins ~/.vimrc
+ln -sf $DIR/vimrc ~/.vimrc
 ln -sfT $DIR/vim ~/.vim
 ln -sf $DIR/gitconfig ~/.gitconfig
 
 source ~/.bashrc
-
-vim +PluginInstall +qall
-cd $DIR/vim/bundle/YouCompleteMe && ./install.sh