How can I run Visual Studio Code with 'sudo' on OS X?
Visual Studio Code just makes this work these days...
code ./.zshrc
I want to use Visual Studio Code to edit file .bash_profile.
I set up the Bash command (a la Get started with Visual Studio Code).
The command prompt setup is now on Installing Visual Studio Code on macOS.
If I type "sudo code .bash_profile" - I get "sudo: code: command not found"