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

Custom shell's arguments in 'Shell' system plugin

Open Ardenet opened this issue 1 year ago • 6 comments

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

At present, Shell plugin can choose to use 'cmd', 'powershell', 'pwsh', or 'runcommand' (I am not sure what API this is). I would like to add an option that allows me to call cmd, powershell or pwsh with custom parameters and then run my command.

The main reason is that my pwsh configuration file sometimes takes about 1 second, and I use the flow plugin to quickly open a shell and run some commands, so I don't want to load the configuration file (pwsh/powershell can add the -nop option to not load the configuration).

Describe the solution you'd like

  1. Add an option such as CustomShell to allow users to add a line of commands to call the shell.
  2. Add a place to add custom parameters after the existing cmd, powershell, or pwsh options.

Here is a possible look image

Describe alternatives you've considered

Although not adding this feature does not affect normal use, sometimes the experience may be worse.

Addition

If a developer has implemented this feature, I would greatly appreciate it. I'm very sorry that I don't know how to write C#, so I can't implement it by myself.

Ardenet avatar Apr 07 '24 09:04 Ardenet

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 Jun 07 '24 01:06 github-actions[bot]

This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.

github-actions[bot] avatar Jun 15 '24 01:06 github-actions[bot]

Maybe ability to save commands

jjw24 avatar Jun 24 '24 11:06 jjw24

I'm not quite sure what you mean

Ardenet avatar Jun 24 '24 13:06 Ardenet

Hey, I meant while working on this issue maybe also consider adding the ability to save commands to a quick list for repeated use. That comment was more of a note to myself or whoever takes a look at this task, sorry for the confusion.

jjw24 avatar Jul 03 '24 12:07 jjw24

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 Sep 02 '24 01:09 github-actions[bot]