Terminal: how to config the starting directory for ubuntu

Created on 23 Sep 2019  路  1Comment  路  Source: microsoft/terminal


I have got WSL2 installed. When I boot ubuntu in the terminal, it's default starting directory is %USERPROFILE%, what should I do to set the ubuntu root directory as the starting directory,I've tried to set it to '/' ,but not help.
image

Issue-Docs Needs-Triage Resolution-Duplicate

Most helpful comment

This is a dupe of so very many issues, please search before filing. startingDirectory needs to be a Windows path. I'd recommend setting it to //wsl$/Ubuntu/home/username

>All comments

This is a dupe of so very many issues, please search before filing. startingDirectory needs to be a Windows path. I'd recommend setting it to //wsl$/Ubuntu/home/username

Was this page helpful?
0 / 5 - 0 ratings