Adding an alias to zshrc file
Wanted to add an alias to quickly open Sublime Text editor from the command line. Here's how -
- Open the file ~/.zshrc in a text editor
- Add the following line -
alias sub="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
- Close and reopen the command line, or reload by typing
Make sure you have Package Control already set up for Sublime Text 3.
You can then install and use the Skins package, which provides an easy way to manage your themes for Sublime Text 3.
Install via package manager with
CMD+SHIFT+P -> Install Package -> Skins
Using Skins package to select a theme
CMD+SHIFT+P -> Skin