Sublime command for mac :

execute those command:

subl 2:

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

 

subl 3:

ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl

或者

function subl () { "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" . }

 

上面的所有请确认保证

1:创建了 ~bin目录。

2:在/etc/paths中加入了 ~/bin. (sudo vi /etc/paths)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-17
  • 2021-06-09
  • 2021-06-02
  • 2021-08-06
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-14
  • 2022-12-23
  • 2021-12-21
  • 2021-08-24
  • 2021-12-07
  • 2021-07-29
相关资源
相似解决方案