Skip to content

Instantly share code, notes, and snippets.

@tox2ik
Created November 17, 2013 16:58
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 tox2ik/7515473 to your computer and use it in GitHub Desktop.
Save tox2ik/7515473 to your computer and use it in GitHub Desktop.
Creates an explorer context popup entry for folders (right click). It launches bash in a mintty in the selected folder. Works with cygwin64 (where chere is not yet available).
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\mintty]
@="Mintty"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\mintty\command]
@="C:\\cygwin64\\bin\\mintty.exe -h always -e /usr/bin/ash -c 'cd \"$(/usr/bin/cygpath \"%L\")\"; exec /usr/bin/bash '"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment