|
How can a Terminal app (vi) be the default app for a file in finder?
I've searched and searched here but the answer eludes me. I'm trying to figure out how to make vi (via a Terminal session, be it one that's already running or invoking a new one) be the default application for a cmd-O/double click on a file in finder? Just like double clicking on a *.html file launches Safari or hitting cmd-o on a *.doc file launches MS Word with and loads the desired document.
Probably would have to wrap it in an applescript but I'm not sure of syntax and I'm on the road now and have no hardcopy docs ...
|