how to make code . command wor in terminal vscode code example
Example 1: code . not working mac
ps -A | grep Visual\ Studio\ Code | awk '{print $1}' | xargs kill -9
Example 2: adding code . in the terminal
code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}