My dotfiles, have a look, try them, give me hints for improvement...
cd ~ && git clone git://github.com/grosser/dotfiles.git
Symlink the files you want to use e.g.
cd ~ && ln -s dotfiles/rspec .rspec
curl -L https://raw.github.com/grosser/dotfiles/master/autoload.sh | bash -s master
install.rb which will:
- make a backup of all the files it changes to ~/dotfiles_backup_TIMESTAMP
- replaces .file through links to dotfiles/file for .bashrc .gitignore .irbrc .rspec
- replace content of .gitconfig, except for [github] and [user] section
If you add a folder named 'secret' to dotfiles it will also symlink stuff from there.
ln -s /home/micha/Dropbox/Private/dotfiles dotfiles/secret