Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as a developer

View project on GitHub

Opening files in applications from the command line

Editors SublimeText and Textmate come with nice CLI integration, ActiveStates Komodo 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