Skip to content

Instantly share code, notes, and snippets.

@zayfod
Created October 26, 2013 05:27
Show Gist options
  • Save zayfod/7165621 to your computer and use it in GitHub Desktop.
Save zayfod/7165621 to your computer and use it in GitHub Desktop.
Windows registry file to add "MinGW terminal here" option to folders and drives in Windows Explorer. #misc #win #reg #mingw
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\bash]
@="MinGW terminal here"
[HKEY_CLASSES_ROOT\Directory\shell\bash\command]
@="c:\\MinGW\\msys\\1.0\\bin\\bash.exe --login -i -c 'cd \"$*\"; bash' bash %L"
[HKEY_CLASSES_ROOT\Drive\shell\bash]
@="MinGW terminal here"
[HKEY_CLASSES_ROOT\Drive\shell\bash\command]
@="c:\\MinGW\\msys\\1.0\\bin\\bash.exe --login -i -c 'cd \"$*\"; bash' bash %L"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment