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