Skip to content

Instantly share code, notes, and snippets.

@elsassph
Created March 13, 2012 08:59
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 elsassph/2027705 to your computer and use it in GitHub Desktop.
Save elsassph/2027705 to your computer and use it in GitHub Desktop.
Command and Bash prompt here
REGEDIT4
[HKEY_CLASSES_ROOT\Directory\shell\BashHere]
@="Open &Bash prompt here"
[HKEY_CLASSES_ROOT\Directory\shell\BashHere\command]
@="c:\\cygwin\\bin\\bash.exe --login -c \"cd '%1' ; exec /bin/bash -rcfile ~/.bashrc\""
[HKEY_CLASSES_ROOT\Drive\shell\BashHere]
@="Open &Bash prompt here"
[HKEY_CLASSES_ROOT\Drive\shell\BashHere\command]
@="c:\\cygwin\\bin\\bash.exe --login -c \"cd '%1' ; exec /bin/bash -rcfile ~/.bashrc\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\BashHere]
@="Open &Bash prompt here"
[HKEY_CLASSES_ROOT\Directory\Background\shell\BashHere\command]
@="c:\\cygwin\\bin\\bash.exe --login -c \"cd '%V' ; exec /bin/bash -rcfile ~/.bashrc\""
[HKEY_CLASSES_ROOT\Directory\shell\PromptHere]
@="Open &Command prompt here"
[HKEY_CLASSES_ROOT\Directory\shell\PromptHere\command]
@="c:\\windows\\system32\\cmd.exe /K cd \"%1\""
[HKEY_CLASSES_ROOT\Drive\shell\PromptHere]
@="Open &Command prompt here"
[HKEY_CLASSES_ROOT\Drive\shell\PromptHere\command]
@="c:\\windows\\system32\\cmd.exe /K cd \"%1\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\PromptHere]
@="Open &Command prompt here"
[HKEY_CLASSES_ROOT\Directory\Background\shell\PromptHere\command]
@="c:\\windows\\system32\\cmd.exe /K cd \"%V\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment