mac终端运行编辑器(sublime,vscode)

配置终端启动vscode

  • 输入 commend + shift + p 打开命令面板
  • 输入 shell,选择 install code command in PATH

配置终端启动sublime text

alias subl=\''/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl'\'

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

subl -v

你可能感兴趣的:(mac终端运行编辑器(sublime,vscode))