Open a folder in Sublime Text 3 using command line

前端 未结 10 1535
旧巷少年郎
旧巷少年郎 2020-12-23 01:53

I\'m trying to open a directory in sublime Text 3.

I can launch sublime from the command line using the subl command.

The help text show the fol

10条回答
  •  既然无缘
    2020-12-23 02:47

    I was having trouble opening sublime text 3 with sublime text 2 currently installed. To fix this issue:

    1) open /usr/local/bin from terminal.

    2) locate and delete subl within bin folder

    3) copy and pasted '/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl' /usr/local/bin/subl into terminal.

    4) locate new subl within bin folder

    5) used subl in terminal to verify command opens sublime text 3 properly.

    6) used subl -v and got Sublime Text Build 3083

提交回复
热议问题