Run the following commands in your terminal. It will prompt you before it does anything destructive. Check out the Rakefile to see exactly what it does.
git clone git://github.com/rtdevlin/dotfiles ~/.dotfiles
cd ~/.dotfiles
rake install
After installing, open a new terminal window to see the effects.