title: Can't open VS Code on command line
body: <p>I'm using VS Code with WSL. To edit code in WSL, I need to navigate to the directory in WSL and then type <code>code .</code> to open VS Code in the same directory. It was working before, but all of a sudden I can't get this command to work. I get the error <code>zsh: command not found: code</code>.</p>
  <p>Things I have tried:</p>
  <ul>
  <li>Both Dan Lowe's and starryknight's answers to this <a href="https://stackoverflow.com/questions/50182417/code-command-is-not-working">similar question</a>. When I tried Dan Lowe's answer, I couldn't actually find the option &quot;Shell Command: Install 'code' command in PATH&quot;. There was no change from trying starryknight's answer of adding the VS Code bin to PATH in .zshrc (zsh is the boot shell).</li>
  <li>Restarting WSL (Ubuntu 20.04).</li>
  <li>Closing the VS Code app.</li>
  </ul>