β

Launch Sublime Text from Command Line On Mac

Blog of GangMax 28 阅读

From here .

What you need to do is to create a symbolic link:

# Run the following command to craete the symbolic link:
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime
# Run it.
sublime ~/Documents/test.txt
作者:Blog of GangMax
原文地址:Launch Sublime Text from Command Line On Mac, 感谢原作者分享。

发表评论