Skip to content

Instantly share code, notes, and snippets.

@pmoran
Created June 20, 2010 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmoran/445833 to your computer and use it in GitHub Desktop.
Save pmoran/445833 to your computer and use it in GitHub Desktop.
gemmate() {
mate $GEMDIR/gems/`$(which ls) $GEMDIR/gems | grep $1 | sort`
}
complete -o default -o nospace -F _gemdocomplete gemmate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment