title: How does Visual Studio Code (VSCode) know environment variables set in ~/.config/fish/config.fish?
body: <p>Environment:</p>
  
  <ul>
  <li>macOS Catalina</li>
  <li>Visual Studio Code</li>
  <li>fish shell</li>
  </ul>
  
  <hr>
  
  <p>I'm using fish as a default shell and almost every environment variable, include <code>$PATH</code>, is set within <code>~/.config/fish/config.fish</code> (<code>~/.bash_profile</code> in bash). When I use Visual Studio Code, it knows environment variables set in <code>~/.config/fish/config.fish</code> though its parent process is <code>/sbin/launchd</code>, not fish. How does this occur?</p>