skybirdmetrics.blogg.se

Aliias for sublime text 3 mac subl
Aliias for sublime text 3 mac subl














Once this file open, add the following line wherever you want (if you have a complex. an alias for the sublimetext.exe found within the Sublime Text 3 folder. To to so, you can type the command open ~/.bash_profile, for example.If the file doesn’t exist, it is okay, we can create an empty one where we will add our instruction. Sublime Text includes a command line tool, subl, to work with files on the. bash_profile which is normally in you HOME folder.

aliias for sublime text 3 mac subl

So now, let’s focus on the main goal, being able to call the command subl from your terminal.To do so, you must open the file.

ALIIAS FOR SUBLIME TEXT 3 MAC SUBL INSTALL

The first step to have the command subl accessible is to install Sublime Text, obviously.If this is not already the case for you, then, follow this link, download and install it on your computer.Īt this point, you should be able to open Sublime Text without the terminal 😉 You can also add the option -n to open it in a new windows, or the option -h to display the help and have all the description of all the possibilities available to you. Install Now The Sublime Text package manager that makes it exceedingly simple to find, install and keep packages up-to-date. Once setup up, you can use command line like subl my_file_or_folder to open a file or a folder in Sublime Text. Package Control - the Sublime Text package manager. This alias, however, is not permanent and the next time you start your terminal youll need to write it again.

This way, typing subl, will open the file in sublime text editor. aliias for sublime text 3 mac subl

Last week, I had to reinstall all the tools I use on a new computer, since the previous one passed away ☠Īnd since I use Sublime Text as a default text editor, (please, no debate over which text editor is the best in the comment 😝, I had to reinstall it and make it easily accessible through the terminal.įor those who don’t know, Sublime Text has a shortcut, a command line tool named subl, which allow you to use summon sublime text though your terminal. Prompt alias subl/mnt/c/Program Files/Sublime Text 3/subl.exe which creates an alias for whats specified after.














Aliias for sublime text 3 mac subl