My dotfiles for bash and OS X
Shell VimL Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autotest-growl
bash
README.textile
Rakefile
ackrc
autotest
bash-git-completion.sh
bash_profile
caprc
gemrc
gitconfig
gitignore
gitignore_global
gvimrc
inputrc
irbrc
railsrc
rdebugrc
ruby-version
rvmrc
vimrc

README.textile

Andy Henson’s Dotfiles

These are my dotfiles to set up my system the way I like it.

Installation

	
	git clone git://github.com/andyh/dotfiles.git ~/.dotfiles
	cd ~/.dotfiles
	rake install
	

Then edit to suit your needs.

Note that I use Mac OS X and bash

Mategem

Create this script in your path somewhere (mine is in /usr/local/bin)

	
  #!/bin/sh
  
  usage()
  {
       echo "Usage: $(basename $0) <gem>" 1>&2
       exit 1
  }
  
  GEM="$1"
  
  [ -z "$GEM" ] && usage
  mate "$(gem environment gemdir)/gems/$GEM"

Then make it executable:

chmod +x /usr/local/bin/mategem

Autospec/Growl

The growlnotify command line tool needs to be installed and the ZenTest, autotest-growl and autotest-fsevent gems.

Features

  • Prompts showing current branch if directory is a git repository
  • Tab completion for git commands, branches, etc
  • Aliases for common git commands and rails (plus a few terminal shortcuts)
  • mategem for completing and opening gems in TextMate
  • authme command for adding servers to authorized_keys list
  • autospec/autotest growl notifications
  • hirb is enabled for Rails console sessions