Skip to content

Instantly share code, notes, and snippets.

@cbarraco
Created October 14, 2017 20:04
Show Gist options
  • Save cbarraco/474266da0c29570049dc7915e80c233a to your computer and use it in GitHub Desktop.
Save cbarraco/474266da0c29570049dc7915e80c233a to your computer and use it in GitHub Desktop.
Add an explorer context menu item for opening a bash for windows shell in the current directory
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\bash]
@="Open bash shell here"
"Icon"="%USERPROFILE%\\AppData\\Local\\lxss\\bash.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\bash\command]
@="C:\\Windows\\System32\\bash.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment