You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE REQUEST] Make Start in aware of WSL and allow a custom starting folder #23
On Windows, with Shell = wsl and Start in = Home, a new WSL session starts in the Windows user profile. Inside the distribution this appears as:
/mnt/c/Users/<user>
For example:
But, a WSL user usually expects Home to mean the Linux user's home:
/home/<user>
The Shell field cannot be used for this either: it accepts an executable path only, not command-line arguments. For example, entering wsl ~ is rejected with:
shell is "wsl ~", which names no program
wsl ~ is one way to specify the starting directory for a WSL session.
How it should work
I can see three possible directions.
Option A: make Home shell-aware
Native shells: start in the platform's home, as today.
wsl: start in the distribution's Linux home.
One implementation would be to pass --cd ~ to wsl.exe, letting WSL resolve the user's Linux home instead of hardcoding /home/<user>.
Option B: add a Custom option to "Start in"
Option C: allow passing shell arguments
This would also cover other shells that take startup arguments.
Thank you, @vhxnyu. You laid out the three ways clearly, and the first two are in on main now, for the next release:
Home knows WSL. With Shell wsl and Start in Home, a new session starts through wsl.exe --cd ~, so WSL resolves the distribution's own home. On a Windows 11 PC the session reported \\wsl.localhost\Ubuntu\home\<user>, where it used to stand in /mnt/c/Users/<user>.
Start in › Folder. A third choice starts every new session, the first one too, in a folder you pick in Settings › Terminal › Folder, typed or through Browse…. It must be a full path to a folder that exists; if it is not, the row says why and the setting stays as it was.
Shell arguments stay out for now: Home and Folder cover both cases you named. A Windows folder you pick for a wsl session goes to WSL as it does today, which maps it under /mnt.
Activity
T86: Start in knows WSL's own home and takes a folder of the user's, …
Raiden-MeixElysia commentedon Oct 24, 2026
Thank you, @vhxnyu. You laid out the three ways clearly, and the first two are in on main now, for the next release:
wsland Start in Home, a new session starts throughwsl.exe --cd ~, so WSL resolves the distribution's own home. On a Windows 11 PC the session reported\\wsl.localhost\Ubuntu\home\<user>, where it used to stand in/mnt/c/Users/<user>.Shell arguments stay out for now: Home and Folder cover both cases you named. A Windows folder you pick for a
wslsession goes to WSL as it does today, which maps it under/mnt.