Categories Tags

Command Line Shortcuts

I’ve always been a lover of the command line and for some weird reason whatever environment I am in, I like to boot up applications from terminal.

This goes from the simplest of tasks, such as opening a Finder window from the current directory:

open .

To opening my text editor:

subl .

However, in order to do the previous one, you actually need to set up your Mac with this command.  You might think that it is difficult but it is not.  It’s as simple as running the following command:

ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl

This will make a symbolic link between the Sublime Text app (their command which is built-in) and a folder which you normally have on your path.

Posted in tools

Tags: