Created
February 24, 2019 18:12
-
-
Save fritzmg/7b4b200e753d58173dfa308b7431fa03 to your computer and use it in GitHub Desktop.
Windows scoop git global context menu
This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\*\shell\Open Git Bash] | |
@="Open Git Bash" | |
"Icon"="C:\\ProgramData\\scoop\\apps\\git\\current\\git-bash.exe" | |
[HKEY_CLASSES_ROOT\*\shell\Open Git Bash\command] | |
@="\"C:\\ProgramData\\scoop\\apps\\git\\current\\git-bash.exe\" \"--cd=%1\"" | |
; This will make it appear when you right click ON a folder | |
; The "Icon" line can be removed if you don't want the icon to appear | |
[HKEY_CLASSES_ROOT\Directory\shell\bash] | |
@="Open Git Bash" | |
"Icon"="C:\\ProgramData\\scoop\\apps\\git\\current\\git-bash.exe" | |
[HKEY_CLASSES_ROOT\Directory\shell\bash\command] | |
@="\"C:\\ProgramData\\scoop\\apps\\git\\current\\git-bash.exe\" \"--cd=%1\"" | |
; This will make it appear when you right click INSIDE a folder | |
; The "Icon" line can be removed if you don't want the icon to appear | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\bash] | |
@="Open Git Bash" | |
"Icon"="C:\\ProgramData\\scoop\\apps\\git\\current\\git-bash.exe" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\bash\command] | |
@="\"C:\\ProgramData\\scoop\\apps\\git\\current\\git-bash.exe\" \"--cd=%v.\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks