(In some cases the profile file is named ~/.profile) Now let's do a check to see if everything will run smoothly. This will simply create a symlink called sublime (remember, we like names that don't suck to type 500 times a day) between the subl binary stashed in the Sublime application package, and a folder where your system usually looks for binaries to execute (launch). Ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime So contrary to the Sublime team recommendation, we're not going to create a bin folder in your home directory: That's weird, I don't recall ever being asked to do that on OS X since most people install binaries within /usr/local/bin which – if you're a developer – is likely to already have tons of other binaries. The official documentation I linked to above recommends creating a ~/bin folder (in your home directory). You can find more (official) details about subl here: Installation 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). Launch Sublime Text 3 from the Mac OS X Terminal
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |