til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Opening files in applications from the command line

Editors SublimeText and TextMate come with nice CLI integration, Komodo by ActiveState does not, but it is not hard to achieve some level of integration.

The open command is great, you can actually open files or directories like so for the Komodo IDE:

% open -a /Applications/Komodo\ IDE\ 8.app/ <some file or directory>

The trick actually came from a tip on how to attach a file to an email for sending via Appleā€™s Mail.app. Please see the TIL on Mail.app