Symlink Creation ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime This and one or two more steps to tell Bash where the command is located and how to remember it. This will basically allow the installation of the sublime command. Installationįirst thing we do is create a symlink to make the app link to the bin folder to trigger it as a command from the command line. Suggestions there are not followed as we do a slightly adjusted setup based on Artero’s recommendations. ![]() You can find more details about subl here: . ![]() open /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl If this following line opens Sublime Text for you, then bingo, you’re ready. This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. Sublime Text 3 ships with a CLI called subl (why not “sublime”, go figure). Textmate ads it to your path for you, but for Sublime you have to do all the legwork yourself. ![]() Something I missed after moving from TextMate to it. It explains how you can get Sublime 3 to work from the command line. A fork I have adjusted and updated some more in this blog post. Text below is a gist fork of gist by Artero with basic adjustments to use Sublime Text 3 from Command Line in OSX.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |