Skip to main content
100%

Windows specific registry snippet: This gist is useful for getting Cygwin (http://www.cygwin.com) on right click of a folder, drive or background. This gist assumes that Cygwin is installed and accessible from C:\Cygwin\Cygwin.bat and the icon for the same is C:\Cygwin\Cygwin.ico. This gist assumes that you have run the following in a Cygwin window: svn --force export http://apt-cyg.googlecode.com/svn/trunk/ /bin/ chmod +x /bin/apt-cyg apt-cyg install ncurses chere chere -i -s bash After running all these commands in Cygwin command window, run this registry file to change the overall display of Bash handy access on right click of a folder, drive or background.

✓ Published0🌍 Public
PP7h
Last edited Jun 27, 2013
Created on Jun 27, 2013

This example shows a Windows registry snippet that adds a “Bash” option to the right-click context menu for folders, drives, and the desktop background, enabling quick access to a Cygwin terminal. The registry file writes entries under `HKEY_CLASSES_ROOT` and `HKEY_LOCAL_MACHINE`, using shell command keys like `cygwin_bash` and `Command` to invoke `C:\Cygwin\bin\bash -c "/bin/xhere /bin/bash.exe '%v'"`. It also sets an icon via `Cygwin.ico`, and includes hex-encoded command strings for full path compatibility. The snippet relies on the `chere` utility for Cygwin integration.

AI-generated description

Similar vizzes