Created
January 26, 2012 15:19
-
-
Save lukemelia/1683235 to your computer and use it in GitHub Desktop.
mate_to_line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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