title: How to change default directory in Windows Subsystem for Linux
body: <p>I am setting up my development environment, so I just installed Windows Subsystem for Linux and it always seems to open a fresh terminal in my Windows home directory - <code>/mnt/c/Users/dl</code> and I'm trying to make it default to the linux home directory - <code>/home/dl</code>.</p>
  <p>I checked to see what the home directory is in the Linux subsystem in <code>/etc/passwd</code> and it is correctly set:</p>
  <pre><code>dl:x:1000:1000:,,,:/home/dl:/bin/bash
  </code></pre>
  <p>Then I came across this <a href="https://github.com/microsoft/terminal/issues/2743" rel="noreferrer">solution</a>, but it doesn't seem to have any affect:</p>
  <pre><code>// Set starting directory
  &quot;startingDirectory&quot;: &quot;\\\\wsl$\\Ubuntu\\home\\dl\\&quot;
  </code></pre>
  <p>I know I can just run <code>cd ~</code> in my dot files (which is what I'm currently using), but I'm looking for a way where <code>/home/dl</code> is just the default and <code>cd ~</code> isn't needed.  Is this possible?</p>