Skip to content

Instantly share code, notes, and snippets.

@everettcaleb
Last active August 29, 2015 13:57
Show Gist options
  • Save everettcaleb/9618924 to your computer and use it in GitHub Desktop.
Save everettcaleb/9618924 to your computer and use it in GitHub Desktop.
Registry File to Add Right-Click for Bash in Windows 7/8/8.1
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\RightClickForBash]
@="Open Bash Shell Here"
[HKEY_CLASSES_ROOT\Directory\shell\RightClickForBash\Command]
@="c:\cygwin64\bin\bash.exe"
[HKEY_CLASSES_ROOT\DesktopBackground\shell\RightClickForBash]
@="Open Bash Shell Here"
[HKEY_CLASSES_ROOT\DesktopBackground\shell\RightClickForBash\Command]
@="c:\cygwin64\bin\bash.exe"
[HKEY_CLASSES_ROOT\Folder\shell\RightClickForBash]
@="Open Bash Shell Here"
[HKEY_CLASSES_ROOT\Folder\shell\RightClickForBash\Command]
@="c:\cygwin64\bin\bash.exe"
[HKEY_CLASSES_ROOT\LibraryFolder\shell\RightClickForBash]
@="Open Bash Shell Here"
[HKEY_CLASSES_ROOT\LibraryFolder\shell\RightClickForBash\Command]
@="c:\cygwin64\bin\bash.exe"
@everettcaleb
Copy link
Author

Make sure that your cygwin bin folder is in PATH

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