DEV Community

darkside haguremetal
darkside haguremetal

Posted on

make subl command valid by symbolic link to open Sublime Text 3

want to open Sublime Text 3 by iTerm2 command.

  • enter a command below on iTerm2 to make symbolic link of Sublime Text 3
$ ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
  • execute the linked command to open Sublime Text 3
$ subl [file]

Top comments (0)