Skip to content

Instantly share code, notes, and snippets.

@aldoah0a
Created November 11, 2013 11:31
Show Gist options
  • Save aldoah0a/7411869 to your computer and use it in GitHub Desktop.
Save aldoah0a/7411869 to your computer and use it in GitHub Desktop.
#!/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!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment