Flow.Launcher icon indicating copy to clipboard operation
Flow.Launcher copied to clipboard

Allow using any shell with Shell plugin

Open EliSadaka opened this issue 5 years ago • 7 comments

Is your feature request related to a problem? Please describe.

It is currently only possible to trigger the command line, Windows Powershell, or the Run command with the Shell plugin. This is not ideal for users who prefer using WSL or newer versions of Powershell. It is possible to run commands in any shell from Flow Launcher, but it requires typing in the specific command for the desired shell each time (e.g. > wsl ls instead of > ls) and it still runs the command in a cmd/Powershell window.

Describe the solution you'd like

Instead of making the user choose from a dropdown list of options, let them type in the command corresponding to the shell they want to use (e.g. pwsh, wsl, etc.)

EliSadaka avatar Oct 22 '20 19:10 EliSadaka

I think if you simply want to run those command with a specific shell by typing specific keyword, you can do it by > pwsh -c {commands} or bash -c {commands}. Or if don't want to return back to the cmd windows, it will be possible to open wsl or pwsh by typing bash or pwsh directly, and the shell will be run in the cmd/Powershell window. For pwsh, it will also be possible to remain the windows by adding -NoExit argument before the command, although this is a little bit long

taooceros avatar Oct 31 '20 04:10 taooceros

Sorry, I think I have misunderstood your issue for a while, and I do think it is quite useful to choose a different shell to execute command (such as windows terminal) even if we can execute it within another command prompt that is already supported. It will be planned, now.

taooceros avatar Feb 21 '21 07:02 taooceros

I also require this function.

Even if we don't consider other shell environments like bash, taking PowerShell alone as an example, the version that comes built-in with Windows is PowerShell 5. If you install version 7, there will be two completely different configuration files, which can make using some preconfigured commands cumbersome. Moreover, the PowerShell launched by the system is not aesthetically pleasing and lacks many features.

I believe the best way to optimize it would be to launch Windows Terminal, making it more user-friendly.

Darkluna999 avatar Feb 12 '23 20:02 Darkluna999

+1 for wt

WhoMI7 avatar Aug 07 '23 08:08 WhoMI7

We already can select what shell will be used, in the Shell plugin settings. What we really need is a setting to define which terminal app should be launched. Im all for Windows Terminal, but there are others.

Novack avatar Aug 25 '23 00:08 Novack

+1 for getting to choose terminal app to be launched

Shreneken avatar Nov 02 '23 13:11 Shreneken

Please add support for this.

Trojan-V avatar Aug 24 '24 14:08 Trojan-V

I also require this feature, especially for a shell replacement that won't spawn a window (i.e. https://github.com/SeidChr/RunHiddenConsole)

WhitespaceQ avatar Aug 31 '24 13:08 WhitespaceQ

Any updates about this? Is there a plugin that i could use to run linux commands?

MatheusMores avatar Jan 09 '25 13:01 MatheusMores

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh

github-actions[bot] avatar Mar 11 '25 02:03 github-actions[bot]