microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.86k stars 6.59k forks source link

Feature Request: PowerToys Run > Folder > Respect Default Terminal Settings #24266

Open gerneio opened 1 year ago

gerneio commented 1 year ago

Description of the new feature / enhancement

When using PowerToys Run, one of the folder context menu options is "open path in console", which defaults to CMD. I would like this to default to run using the default profile set up in windows terminal. To be clear, IF I have windows terminal setup as my default terminal (refer to this dev blog), then this action DOES open windows terminal, however it runs under "cmd.exe". I would prefer that it ran under my default profile (i.e. powershell). Would also be nice if it would respect other windows terminal settings such as the "New instance behavior" setting (i.e. "attach to most recently used window on this desktop").

Scenario when this would be used?

Would be the new default behavior, but I suppose it could be added as an options in the PowerToys Run settings panel. The goal being that we respect the default settings set by the user (use windows terminal as default terminal, use default profile on "new instance", AND respect any other windows terminal settings).

Supporting information

I tried searching for existing issues created on this specific request, but closest I found was this one #20834 which refers to some other adjustments with this action.

blakeNaccarato commented 9 months ago

Looks like this was closed as "won't fix" in https://github.com/microsoft/PowerToys/issues/15006 with the reasoning that "you set your default console and your default profile" in Windows Settings, which is only partly true. As mentioned by OP, even though the default terminal is launching, the default profile is not, which I would consider a "bug" in this context.

With https://github.com/microsoft/PowerToys/issues/16118 complete for PowerToys Run, maybe this will be easier to fix now?