wdi-hk-sep-2014 / notes

Notes for WDI course
3 stars 5 forks source link

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

Closed naterexw closed 10 years ago

harryworld commented 10 years ago

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"