zsh command for visual studio code mac code example
Example 1: open vscode in mac terminal zsh
code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}
Example 2: vsode zsh
"terminal.integrated.shell.osx": "/bin/zsh"
code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}
"terminal.integrated.shell.osx": "/bin/zsh"