I'm defining a custom $PATH
environment variable in my ~/.bash_profile
(on a Mac), like so:
PATH="$HOME/.cargo/bin:$PATH:$HOME/bin"
However, VS Code of course does not run my .bash_profile
, so it does not have my custom paths. In fact, if I Toggle Developer Tools and check process.env.PATH
, it doesn't even seem to have /usr/local/bin
.
How do I globally set the PATH
environment variable in VS Code?
(I want to set it globally, not per project or per task, since I'm maintaining a lot of small packages.)