These are config files to set up a system the way I like it. The majority of it was borrowed from Ryan Bates' repo, so you might want to start there if you're looking to create your own version.
git clone --recursive git:https://github.com/werebus/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. I use bash, but I know a lot of folks these days love zsh. If you're one of those people, might I suggest Oh-my-zsh?
Bash configuration is parceled out into various files in the ~/.bash
directory.
Tab completion is also added to knife, 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.
I switch bash to vi-mode which might be a bit weird for some.
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.
My organization keeps its vim configuration in a Seperate repository. It's included as a sub-module of this repository.
You can place any custom vim plugins in ~/.bundle
; they'll be loaded by
pathogen. Use the .vimrc.before
, .vimrm.after
, .gvimrc.before
, and
.gvimrc.after
files for further customization.
I rely on a set of tools for irb called 'irbtools' which are packaged up
in a meta-gem -- install it with gem install irbtools
.
In the ~/.bin
directory
- The mvim wrapper script
- A little script to print out a visual directory tree
- hr
- Basic gemrc and rdebugrc files
- Sensible git and hg configs and global ignore files
- An inputrc with the magic space