Windows Registry Editor Version 5.00
 
; Open files
[HKEY_CLASSES_ROOT\*\shell\gitbash]
@="gitbash"
Icon"="D:\\apps\\cmder\\vendor\\git-for-windows\\git-bash.exe,0"
 
[HKEY_CLASSES_ROOT\*\shell\gitbash\command]
@="\"D:\\apps\\cmder\\vendor\\git-for-windows\\git-bash.exe\" \"%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\gitbash]
@="gitbash"
"Icon"="\"D:\\apps\\cmder\\vendor\\git-for-windows\\git-bash.exe\",0"
 
[HKEY_CLASSES_ROOT\Directory\shell\gitbash\command]
@="\"D:\\apps\\cmder\\vendor\\git-for-windows\\git-bash.exe\" \"%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\gitbash]
@="gitbash"
"Icon"="\"D:\\apps\\cmder\\vendor\\git-for-windows\\git-bash.exe\",0"
 
[HKEY_CLASSES_ROOT\Directory\Background\shell\gitbash\command]
@="\"D:\\apps\\cmder\\vendor\\git-for-windows\\git-bash.exe\" --login -i"

04-14 09:14