Multiple profile for the same WSL instance #10766

Closed
opened 2026-01-31 02:29:45 +00:00 by claunia · 2 comments
Owner

Originally created by @ajit555db on GitHub (Sep 25, 2020).

Primarily each profile mapping to different default folders (startingDirectory setting).

Originally created by @ajit555db on GitHub (Sep 25, 2020). Primarily each profile mapping to different default folders (startingDirectory setting).
Author
Owner

@jack775544 commented on GitHub (Sep 25, 2020):

You can do that already by doing something like this in your settings.json

{
    "guid": "{d8a4a45a-cca2-45d0-9b26-06b227f1a140}",
    "name": "My New WSL",
    "commandline": "wsl -d Ubuntu",
    "startingDirectory": "C:\\Program Files"
}
@jack775544 commented on GitHub (Sep 25, 2020): You can do that already by doing something like this in your settings.json ```json { "guid": "{d8a4a45a-cca2-45d0-9b26-06b227f1a140}", "name": "My New WSL", "commandline": "wsl -d Ubuntu", "startingDirectory": "C:\\Program Files" } ```
Author
Owner

@zadjii-msft commented on GitHub (Sep 29, 2020):

Yep, you can do this exactly as @jack775544 mentions above.

@zadjii-msft commented on GitHub (Sep 29, 2020): Yep, you can do this exactly as @jack775544 mentions above.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10766