Created
November 11, 2013 11:31
-
-
Save aldoah0a/7411869 to your computer and use it in GitHub Desktop.
Revisions
-
aldoah0a created this gist
Nov 11, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,38 @@ #!/bin/bash -e set -e set -x APTITUDE_OPTIONS="-y" sudo apt-get update sudo apt-get upgrade echo "Getting packages" cat <<PACKAGES | xargs sudo apt-get install $APTITUDE_OPTIONS ruby1.8 ruby-dev git vim-nox make PACKAGES echo "All Packages installed" echo "cloning the repo" #TODO: Better error handling git clone https://Ayed@bitbucket.org/Ayed/vim.git ~/.vim echo "Building Command T" #TODO: is it already built? cd ~/.vim/bundle/Command-T/ruby/commandt-t/ ruby extconf.rb make echo "Simlink vimrc" ln -s ~/.vim/vimrc ~/.vimrc echo "Changing directory to your home" cd ~ echo "Enjoy!"