配置zsh在命令行里面打开编辑器

vim ~/.zshrc
alias code='/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code'
source ~/.zshrc

让改变的文件生效 source ~/.zshrc