使用终端用sublime text3打开文件

1.建立软连接
ln /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
2.subl命令行打开文件
➜ lottery ls
test
➜ lottery subl test

参考:
https://blog.csdn.net/songbinxu/article/details/80432040

此条目发表在工具分类目录。将固定链接加入收藏夹。

发表评论

邮箱地址不会被公开。 必填项已用*标注