Tuesday, October 18, 2011

Cygwin: Windows Context Menu

The following, when placed in a .reg file and imported into the windows registry, will create a context menu entry that will open a mintty cygwin window at the specified directory. I simply modified a similar reg file which was created for rxvt (I prefer mintty), found here.

Windows Registry Editor Version 5.00

@="Open Mintty Window Here"

@="C:\\cygwin\\bin\\mintty.exe -e /usr/bin/bash --login -c \"cd \\\"`cygpath -u '%1'`\\\"; exec bash\""