Skip to content

Instantly share code, notes, and snippets.

@b9AcE
Created November 19, 2017 22:53
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 b9AcE/c2de03389ccce4d9e8e51a82d9c9733f to your computer and use it in GitHub Desktop.
Save b9AcE/c2de03389ccce4d9e8e51a82d9c9733f to your computer and use it in GitHub Desktop.
Adds a Cygwin64 entry to the right-click menu in Windows Explorer.
Windows Registry Editor Version 5.00
; Adds a MinTTY/BASH window from Cygwin64's default path to
; context (right-click) menus in explorer in every location,
; both when clicking on the object and when
; clicking on the object's background.
; It does the same as "chere" from Cygwin is expected to do,
; but sometimes it just fails unexplainedly, so I wrote my own.
; Version 20171119 by b9AcE.
[HKEY_CLASSES_ROOT\Drive\shell\cygwin64_bash]
@="C&ygwin64..."
[HKEY_CLASSES_ROOT\Drive\shell\cygwin64_bash\command]
@="C:\\cygwin64\\bin\\mintty.exe -e /bin/xhere /bin/bash.exe \"%V\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\cygwin64_bash]
@="C&ygwin64..."
[HKEY_CLASSES_ROOT\Directory\Background\shell\cygwin64_bash\command]
@="C:\\cygwin64\\bin\\mintty.exe -e /bin/xhere /bin/bash.exe \"%V\""
[HKEY_CLASSES_ROOT\Directory\shell\cygwin64_bash]
@="C&ygwin64..."
[HKEY_CLASSES_ROOT\Directory\shell\cygwin64_bash\command]
@="C:\\cygwin64\\bin\\mintty.exe -e /bin/xhere /bin/bash.exe \"%V\""
[HKEY_CLASSES_ROOT\Drive\Background\Shell\cygwin64_bash]
@="C&ygwin64..."
[HKEY_CLASSES_ROOT\Drive\Background\Shell\cygwin64_bash\command]
@="C:\\cygwin64\\bin\\mintty.exe -e /bin/xhere /bin/bash.exe \"%V\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment