-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL default directory forced to windows filesytem #9055
Comments
the starting path is always a windows path. use this: "startingDirectory": "\\\\wsl$\\<distro name>\\<wsl path>", |
Thanks for the fast response. I tired the suggestion "assuming i did it right", still does not work I tried
Thanks |
did you escape the 2 backslashes at the start of the path in the json? it has to be |
try this: "startingDirectory": "\\\\wsl$\\Ubuntu-20.04\\home\\username" put your ubuntu username in |
|
Thanks @Don-Vito. This looks like a rehash of 592/5377 plus a little bit of "sometimes WSL doesn't do the right thing." We're working on it, and we think the solution we're working on will make it better even in case WSL doesn't start up the network share. |
There seems to be no way to set the default directory to the root or any directory under the wsl file system.
No mater what I use for "startingDirectory" it always resolves to
/mnt/c/<startingDirectory>
I have tried using
This is the current settings I have for the wsl terminal
The text was updated successfully, but these errors were encountered: