Suggestion: [setup] Add an option to allow user to add "Open Cygwin Terminal Here" to Right-click menu
Jon Turney
jon.turney@dronecode.org.uk
Thu Feb 15 19:09:38 GMT 2024
On 13/02/2024 20:30, Dan Shelton via Cygwin wrote:
> On Sat, 10 Feb 2024 at 05:21, Yang Yu Lin via Cygwin <cygwin@cygwin.com> wrote:
>>
>> It would be convenient for users to open specific folder in terminal by just right-click it, like Git Bash and Windows Terminal.
>>
[...]
>
> Yes, please, it would be cool to have this as DEFAULT in the MS
> Explorer right-click context menu for dirs
Yeah, this seems like a good idea. Someone should do that. :)
I think the place to start might be with improving the integration of
the 'chere' package, so it has a postinstall/preremove script to
create/remove a context menu entry to start bash under mintty.
(I don't understand quite why chere can't give you "the shell you
currently have configured in /etc/passwd" (i.e. 'mintty -') rather than
having all of them as options...)
Then the next step would probably be adding the option/checkbox to
setup and exposing it to that script via CYGWIN_SETUP_OPTIONS.
[1] https://cygwin.com/packaging-package-files.html
More information about the Cygwin
mailing list