Skip to content

Allow newTabMenu's matchProfile to work with regex #18553

@carlos-zamora

Description

@carlos-zamora

Description of the new feature

Currently, matchProfile has 3 ways to get a match:

  • profile name
  • profile source
  • commandline

Today, a profile automatically gets picked up by the matcher if it matches one of the 3 fields above. But it has to be an exact match!

It'd be useful if we could allow for regexes to make it easier to get a match.

(Bonus, somewhat related idea) I think it's worth replacing the text box with a dropdown in the UI too. Just let the user directly select a source from the ones already registered.

Proposed technical implementation details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-SettingsIssues related to settings and customizability, for console or terminalHelp WantedWe encourage anyone to jump in on these.In-PRThis issue has a related PRIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Needs-Tag-FixDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions