-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Closed
Copy link
Labels
Area-DefAppIssue-TaskIt's a feature request, but it doesn't really need a major design.It's a feature request, but it doesn't really need a major design.Product-TerminalThe new Windows Terminal.The new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.Fix is checked in, but it might be 3-4 weeks until a release.
Milestone
Description
Description of the new feature/enhancement
There should be an option to check whether there is a profile that would match the command line of a console app launched when Terminal is set as default and use that profile.
This would be a nice alternative to using the conhost configuration (#9458) as some people might prefer to use their already defined profiles rather than what's defined in the registry or shortcuts.
Proposed technical implementation details (optional)
Some extra thought should be given to handling command line arguments in both the profile's commandLine and the launched app's command line. A sane compromise could be that a launched app's command line would only match commandLine with either the exact same arguments or none at all to make sure that cmd.exe doesn't get launched with a profile defined for some batch file.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-DefAppIssue-TaskIt's a feature request, but it doesn't really need a major design.It's a feature request, but it doesn't really need a major design.Product-TerminalThe new Windows Terminal.The new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.Fix is checked in, but it might be 3-4 weeks until a release.