Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Run][Shell plugin] Configurable shell executable for > commands #3440

Closed
alekseyl1992 opened this issue May 21, 2020 · 3 comments
Closed

[Run][Shell plugin] Configurable shell executable for > commands #3440

alekseyl1992 opened this issue May 21, 2020 · 3 comments
Labels
Idea-Enhancement New feature or request on an existing product Product-PowerToys Run Improved app launch PT Run (Win+R) Window Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. Run-Plugin Things that relate with PowerToys Run's plugin interface

Comments

@alekseyl1992
Copy link

PowerToys Run is a convinient tool.
But it would be even better, if it would be possible to configure which program executes > commands.
Right now > ping github.com starts in a cmd window, but I, for example, would prefer to use Terminal.
Is it possible?

@cperez87
Copy link

cperez87 commented May 21, 2020

Since PowerToys heavily relies on the original Wox plugins, it should be possible. The original Wox shell settings are located at "%APPDATA%\Wox\Settings\Plugins\Wox.Plugin.Shell\Settings.json".

Settings for PowerToys are located in:
"%localappdata%\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Shell\Settings.json"
I can change Shell to the following to open with Powershell in my machine

{
  "Count": {},
  "Shell": 1,
  "ReplaceWinR": false,
  "LeaveShellOpen": true,
  "RunAsAdministrator": true
}

You might need to restart PowerToys for the changes to be applied.

They might be limiting configuration (via UI) for the same reason they are limiting the use of thirdparty plugins for now. To have a base for bugs.
Im confident we will see the expansion of this in the future. I love Wox, so lets hope PowerToys surpasses it.

@jyuwono jyuwono added the Product-PowerToys Run Improved app launch PT Run (Win+R) Window label May 21, 2020
@jyuwono jyuwono added the Idea-Enhancement New feature or request on an existing product label Jun 3, 2020
@jyuwono jyuwono added this to the Suggested Enhancements milestone Jun 3, 2020
@Szandor72
Copy link

Editing the settings to get Powershell as default command target worked perfectly.

Only grievance: powershell despite "leaveShellOpen": false stays open with a press enter to continue before it really closes;

adding > ping github.com; exit mitigates this for now

@enricogior enricogior changed the title [PowerToys Run] Configurable shell executable for > commands [Run] Configurable shell executable for > commands Jan 9, 2021
@enricogior
Copy link
Contributor

enricogior commented Jan 9, 2021

Closing this in favor of #4283

@enricogior enricogior added the Run-Plugin Things that relate with PowerToys Run's plugin interface label Mar 15, 2021
@enricogior enricogior changed the title [Run] Configurable shell executable for > commands [Run][Shell plugin] Configurable shell executable for > commands Mar 15, 2021
@enricogior enricogior added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-Enhancement New feature or request on an existing product Product-PowerToys Run Improved app launch PT Run (Win+R) Window Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. Run-Plugin Things that relate with PowerToys Run's plugin interface
Projects
None yet
Development

No branches or pull requests

5 participants