Skip to content

Instantly share code, notes, and snippets.

@jcf
Forked from anonymous/snippet.sh
Created December 10, 2008 00:23
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 jcf/34162 to your computer and use it in GitHub Desktop.
Save jcf/34162 to your computer and use it in GitHub Desktop.
Open important Rails directories with TextMate's mate link
function rmate {
if [[ $# -eq 1 ]]; then
mate "${1}/app" "${1}/config" "${1}/lib" "${1}/public" "${1}/spec" "${1}/stories"
else
mate "app" "config" "lib" "public" "spec" "stories"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment