Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (39 sloc) 1.21 KB

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
Something went wrong with that request. Please try again.