Created
August 2, 2011 15:43
-
-
Save helmutgranda/1120474 to your computer and use it in GitHub Desktop.
Open a file with specific program
This file contains 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
# use the following to open a file with a specific program | |
function functionName() | |
{ | |
open -a program $1 | |
} | |
#usage | |
$ functionName file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment