vscode code . comand code example Example: adding code . in the terminal code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}