Amit Jotwani

Amit Jotwani

My Sublime Text 3 Setup: Aliases, Themes, and Terminal Fixes

Tinkering

Adding an alias to zshrc file

Wanted to add an alias to quickly open Sublime Text editor from the command line. Here's how -

  1. Open the file ~/.zshrc in a text editor
  2. Add the following line - alias sub="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
  3. Close and reopen the command line, or reload by typing source ~/.zshrc


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

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 ...