Skip to content

Instantly share code, notes, and snippets.

@lukemelia
Created January 26, 2012 15:19
Show Gist options
  • Save lukemelia/1683235 to your computer and use it in GitHub Desktop.
Save lukemelia/1683235 to your computer and use it in GitHub Desktop.
mate_to_line
#!/bin/bash
# Open /path/to/file:5 in textmate on line 5
exec mate ${1%%:*} -l${1##*:}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment