-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Customizing right-click context menu "open Windows terminal here" for Cygwin (and other) profile #14388
Comments
Solving this issue seems closely related to solving #1772, right? |
tbh I was gonna double check what That was my first idea. |
Hi, I explore RegEdit (inspired by this old post) and find that Cygwin itself provides another script And it also displays a way that WSL open in specified path, which works similarly as git bash by providing In the above screenshot, it seems that it does not necessary to start a Best Regards. |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
Description of the new feature/enhancement
Hi, Team,
Microsoft Terminal supports customizing profile and Cygwin is one of supported configuration.
However, currently right-click context menu "open Windows terminal here" (my environment: Windows10) does not work great with Cygwin since Cygwin recoginzes Unix-like path expression.
In Cygwin, one can execute
cygpath -u "Windows Full Directory Path Name"
to map to the corresponding representation, andcd $(cygpath -u 'Windows Full Directory Path Name')
to open Cygwin in the desired directory.As far as I know, one can adjust from RegEdit, but it requires in-depth knowledge about RegEdit and search for right config to edit.
So it would be helpful if Microsoft Terminal Can support customizing right-click context menu command, supporting passing full Windows directory path as variable for customized command.
Besides, I find there are some similar feature requests about WSL environment #12961, I guess similar trick may also works for WSL, too.
Proposed technical implementation details (optional)
Adding a new profile key/value for customizing "right-click context menu" action (in the following setting page screenshot), and provide some shortcut that represents directory path for substitute.
Best Regards.
The text was updated successfully, but these errors were encountered: