Skip to content

Instantly share code, notes, and snippets.

@kelbyers
Created August 19, 2012 18:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kelbyers/3396815 to your computer and use it in GitHub Desktop.
Save kelbyers/3396815 to your computer and use it in GitHub Desktop.
Regedit entries to start cygwin/mintty in a particular location from the Windows Explorer shell
REGEDIT4
[HKEY_CLASSES_ROOT\Directory\shell\mintty]
@="min&tty Here"
[HKEY_CLASSES_ROOT\Directory\shell\mintty\command]
@="C:\\cygwin\\bin\\mintty.exe -e /usr/bin/bash --login -c \"cd '%1'; exec /bin/bash -rcfile ~/.bashrc\""
[HKEY_CLASSES_ROOT\Drive\shell\mintty]
@="min&tty Here"
[HKEY_CLASSES_ROOT\Drive\shell\mintty\command]
@="C:\\cygwin\\bin\\mintty.exe -e /usr/bin/bash --login -c \"cd '%1'; exec /bin/bash -rcfile ~/.bashrc\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment