Set global $PATH environment variable in VS Code : <p>I'm defining a custom <code>$PATH</code> environment variable in my <code>~/.bash_profile</code> (on a Mac), like so:</p>

<pre><code>PATH="$HOME/.cargo/bin:$PATH:$HOME/bin"
</code></pre>

<p>However, VS Code of course does not run my <code>.bash_profile</code>, so it does not have my custom paths. In fact, if I <em>Toggle Developer Tools</em> and check <code>process.env.PATH</code>, it doesn't even seem to have <code>/usr/local/bin</code>.</p>

<p>How do I globally set the <code>$PATH</code> environment variable in VS Code?</p>

<p>(I want to set it globally, not per project or per task, since I'm maintaining a lot of small packages.)</p>
