[2013–11–23] Setting up Sublime Text 3 from the Command Line

To make Sublime Text available via the command line argument subl use:

sudo ln -s “/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl” /usr/bin/subl

Then to use your editor as the default for git commits and such, enter:

git config — global core.editor “sub — wait”

--

--

Engineer. @hashicorp , formerly @memsql , @UChiResearch . @depaulu alum.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Neil Dahlke

Engineer. @hashicorp , formerly @memsql , @UChiResearch . @depaulu alum.