Skip to content

Instantly share code, notes, and snippets.

@technoknol
Created January 23, 2021 06:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save technoknol/7abce7abd02c9b407407ecefe95a1f20 to your computer and use it in GitHub Desktop.
Save technoknol/7abce7abd02c9b407407ecefe95a1f20 to your computer and use it in GitHub Desktop.
Cygwin context menu in Windows Explorer.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\z_cygwin_bash]
@="Cygwin Here"
"Icon"="C:\\cygwin64\\Cygwin.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\z_cygwin_bash\command]
@="C:\\cygwin64\\bin\\mintty.exe /bin/sh -lc 'cd \"`cygpath \"%V\"`\"; exec bash'"
[HKEY_CLASSES_ROOT\Directory\shell\z_cygwin_bash]
@="Cygwin Here"
"Icon"="C:\\cygwin64\\Cygwin.ico"
[HKEY_CLASSES_ROOT\Directory\shell\z_cygwin_bash\command]
@="C:\\cygwin64\\bin\\mintty.exe /bin/sh -lc 'cd \"`cygpath \"%V\"`\"; exec bash'"
@technoknol
Copy link
Author

image

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