解决command not found: code

532 阅读1分钟

在配置中添加

code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}