wdi-hk-sep-2014/notes

Instructions for two commands to create "subl" alias to open sublime from terminal

Closed this issue · 1 comments

Instructions for two commands to create "subl" alias to open sublime from terminal

There are two methods to do so.

sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl

and modify the file ~/.zsh_aliases using vi, and this line, and reload the terminal

alias subl="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"