Open current folder in Terminal with application
Mac OS X comes with an
open
shell command which can be used to simulate a double click from within Terminal. It can also perform an Open With… operation by use of the-a
argument, e.g.:open -a TextMate .
will open the current folder in TextMate (as a scratch project).
Found this when I was looking for way to open the current folder in Terminal with GitX.
open -a GitX .