My Sublime Text 3 Setup: Aliases, Themes, and Terminal Fixes
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
source ~/.zshrc
![](/img/2022/04/CleanShot-2022-04-23-at-06.48.39.png)
Managing Themes
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
![](/img/2022/04/CleanShot-2022-04-23-at-07.13.07.png)
![](/img/2022/04/CleanShot-2022-04-23-at-07.12.54.png)
Fixing ohmyzsh theme symbols in Sublime Text's terminal - Terminus package
Sublime Text’s Terminus is not displaying oh-my-zsh icons
I get a generic ? where the icons should be. A similar issue but for Visual Studio Code is documented here:https://dev.to/avantar/how-to-fix-zsh-icons-in-visual-studio-code-terminal-38bbNeedless ...
![](https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=73d79a89bded)
![](/img/2022/04/CleanShot-2022-04-23-at-10.58.12.png)