打开文件
vi ~/.bash_profile
添加命令
alias subl=\''/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl'\'
启动
source ~/.bash_profile
使用命令
subl 文件/目录
subl ./_posts/2018-08-03-mac_sublime_open_file.md
打开文件
vi ~/.bash_profile
添加命令
alias subl=\''/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl'\'
启动
source ~/.bash_profile
使用命令
subl 文件/目录
subl ./_posts/2018-08-03-mac_sublime_open_file.md
Author: tea9
Permalink: http://tea9.github.io/post/576883658.html
License: Copyright (c) 2017-2025 CC-BY-NC-4.0 LICENSE
Slogan: Do you believe in DESTINY?