Created
July 2, 2011 06:49
-
-
Save miebach/1059810 to your computer and use it in GitHub Desktop.
"cygwin here" registry patch, CygwinHere0.1.3 see http://software.ellerton.net/cygwin/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Note: Use the first reg-file if the cygwin dir is c:\ and the other on if cygwin is installed to c:\cygwin\ - otherwise adjust the path in the file. | |
See also https://gist.github.com/1641943 for unattended cygwin update and package install | |
---- | |
README | |
NAME: | |
Cygwin Here | |
WEBSITE: | |
http://software.ellerton.net/cygwin/ | |
PURPOSE: | |
Simple solution to starting a cygwin prompt in a specific directory. | |
INSTALLATION: | |
Either double click the ShellHere.reg file or import it using menus | |
form within regedit. | |
USAGE: | |
Using Windows Explorer, right-click on a directory or drive and | |
select "Cygwin Here" from the context menu. | |
UNINSTALLATION | |
At the moment you have to navigate to the keys shown in the .reg file | |
and remove them manually | |
RELEASE NOTES | |
0.1.3 | |
Very quick and dirty, based on newsgroup/mailing list postings. | |
No automatic uninstall. | |
Seems to effectively log in twice, which is unattractive but doesn't | |
matter too much. | |
Uses DOS icon (ie not Cygwin icon) which is annoying but also doesn't | |
matter too much. | |
[email protected], Milano, 02OCT19 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REGEDIT4 | |
[HKEY_CLASSES_ROOT\Directory\shell\CygwinHere] | |
@="&Cygwin Here" | |
[HKEY_CLASSES_ROOT\Directory\shell\CygwinHere\command] | |
@="c:\\bin\\bash.exe --login -c \"cd '%1' ; exec /bin/bash -rcfile ~/.bashrc\"" | |
[HKEY_CLASSES_ROOT\Drive\shell\CygwinHere] | |
@="&Cygwin Here" | |
[HKEY_CLASSES_ROOT\Drive\shell\CygwinHere\command] | |
@="c:\\bin\\bash.exe --login -c \"cd '%1' ; exec /bin/bash -rcfile ~/.bashrc\"" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REGEDIT4 | |
[HKEY_CLASSES_ROOT\Directory\shell\CygwinHere] | |
@="&Cygwin Here" | |
[HKEY_CLASSES_ROOT\Directory\shell\CygwinHere\command] | |
@="c:\\cygwin\\bin\\bash.exe --login -c \"cd '%1' ; exec /bin/bash -rcfile ~/.bashrc\"" | |
[HKEY_CLASSES_ROOT\Drive\shell\CygwinHere] | |
@="&Cygwin Here" | |
[HKEY_CLASSES_ROOT\Drive\shell\CygwinHere\command] | |
@="c:\\cygwin\\bin\\bash.exe --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