mac 下使用命令行打开项目

vs code 

vim ~/.zshrc

alias code='/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code'

source ~/.zshrc

  phpstorm

 

 

 执行上面设置的快捷键

 

  alias pcode='/usr/local/bin/pstorm'

source ~/.zshrc

 

参考:https://medium.com/@uufish/use-pstorm-command-to-open-phpstorm-842e7507b566

posted @ 2020-09-02 17:23  花泪哲  阅读(329)  评论(0编辑  收藏  举报