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"

posted on 2018-08-10 15:52  袁晓平  阅读(317)  评论(0编辑  收藏  举报