These are config files to set up a system the way I like it. They are heavily inspired by Ryan Bates’ Dot Files (github.com/ryanb/dotfiles) via liveh2o github.com/liveh2o/dotfiles
git clone git://github.com/spencerroan/dotfiles ~/.dotfiles cd ~/.dotfiles rake install
I am running on Mac OS X, but it will likely work on Linux as well with minor fiddling.
Tab completion is available for rake and cap commands:
rake db:mi<tab> cap de<tab>
To speed things up, the results are cached in local .rake_tasks~ and .cap_tasks~. It is smart enough to expire the cache automatically in most cases, but you can simply remove the files to flush the cache.
If you’re using git, you’ll notice the current branch name shows up in the prompt while in a git repository.
If there are some shell configuration settings which you want secure or specific to one system, place it into a ~/.localrc file. This will be loaded automatically if it exists.
If you’re using RVM, it’s automatically loaded as well.
to make a global gitignore create the file normally and run: git config –global core.excludesfile ~/.gitignore