Open profile by index with wt -p <index> #22876

Closed
opened 2026-01-31 08:25:56 +00:00 by claunia · 1 comment
Owner

Originally created by @o-l-a-v on GitHub (Feb 8, 2025).

Description of the new feature

Currently, Windows Terminal can be opened with a given profile with wt -p "<profile_name>".

https://learn.microsoft.com/en-us/windows/terminal/command-line-arguments?tabs=windows#open-a-new-profile-instance

I request the ability to select profile by index too, example wt -p 2.

Image

Proposed technical implementation details

No response

Originally created by @o-l-a-v on GitHub (Feb 8, 2025). ### Description of the new feature Currently, Windows Terminal can be opened with a given profile with `wt -p "<profile_name>"`. <https://learn.microsoft.com/en-us/windows/terminal/command-line-arguments?tabs=windows#open-a-new-profile-instance> I request the ability to select profile by index too, example `wt -p 2`. <img width="499" alt="Image" src="https://github.com/user-attachments/assets/81c40b35-a989-40cc-8bc9-29a98766b710" /> ### Proposed technical implementation details _No response_
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-FixResolution-Won't-Fix labels 2026-01-31 08:25:56 +00:00
Author
Owner

@DHowett commented on GitHub (Mar 26, 2025):

Thanks for the request! Profile indices made a lot more sense when we had fewer profiles to go around... but now that you can uniquely identify them by name and by GUID and have those identifiers be stable I'd recommend using one of those instead.

My biggest regret about profile indices is that they are not stable across all settings changes. I'd rather not inflict that on more users. 🙂

@DHowett commented on GitHub (Mar 26, 2025): Thanks for the request! Profile indices made a lot more sense when we had fewer profiles to go around... but now that you can uniquely identify them by name and by GUID _and have those identifiers be stable_ I'd recommend using one of those instead. My biggest regret about profile indices is that they are not stable across all settings changes. I'd rather not inflict that on _more_ users. 🙂
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22876