Skip to content

Support "Windows Terminal" as Explorer plugin's "Shell Path" #4634

Description

@cspotcode

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

I would like to configure the "Explorer" plugin so that "Open with shell" opens via Windows Terminal, using whatever shell is configured as my default.

Unfortunately, two issues arise:

UI error when trying to configure

Settings -> Plugins -> Explorer -> General -> Shell Path -> click "Select"
Navigate to C:\Users\cspot\AppData\Local\Microsoft\WindowsApps\
Choose wt.exe (Windows Terminal)
See below error: "The file cannot be accessed by the system"

Image

I suspect this is because the EXEs for Windows Apps are somehow protected so you can't read them but can spawn them.

Even if I manually modify Flow's config file to set the correct path to wt.exe, second issue:

wt.exe requires -d flag to open shell in a directory

wt -d F:\: -d flag is the way to tell Windows Terminal to open a terminal in a given directory. (in this example, F:\)

But I can't configure flags in Flow Launcher.

Describe the solution you'd like

Modify file picker to avoid the filesystem error.
Add ability to specify CLI flags, not just path to the executable.

Describe alternatives you've considered

Creating my own shim .exe which delegates to wt.exe -d; configuring Flow to launch my shim.

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions