Mac命令行启动Sublime Text
2020-09-24 本文已影响0人
pengjielele
找到Sublime executable file路径
/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl
创建Sublime subl的软链
$ ln -s '/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl' /usr/local/bin/subl
命令行使用
$ subl my_folder
$ subl my_folder/temp.txt