This is my dotfiles. All kinds of constructive suggestions are approsiated as always.
To install dotfiles simply clone repo to home folder and run this script:
curl -L https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh > ~/.bash_git
echo 'source ~/.bash_git' >> ~/.bash_profile
echo 'source ~/dotfiles/bash/env' >> ~/.bash_profile
echo 'source ~/dotfiles/bash/aliases' >> ~/.bash_profile
echo 'source ~/dotfiles/bash/config' >> ~/.bash_profile
to restore iterm settings use this command
cp ~/dotfiles/iterm/com.googlecode.iterm2.plist ~/Library/Preferences/com.googlecode.iterm2.plist
Use this gist for quick git setup.