git bash here右键菜单

Windows Registry Editor Version 5.00
 
; Open files
[HKEY_CLASSES_ROOT*shellgitbash]
@="gitbash"
Icon"="D:\apps\cmder\vendor\git-for-windows\git-bash.exe,0"
 
[HKEY_CLASSES_ROOT*shellgitbashcommand]
@=""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_ROOTDirectoryshellgitbash]
@="gitbash"
"Icon"=""D:\apps\cmder\vendor\git-for-windows\git-bash.exe",0"
 
[HKEY_CLASSES_ROOTDirectoryshellgitbashcommand]
@=""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_ROOTDirectoryBackgroundshellgitbash]
@="gitbash"
"Icon"=""D:\apps\cmder\vendor\git-for-windows\git-bash.exe",0"
 
[HKEY_CLASSES_ROOTDirectoryBackgroundshellgitbashcommand]
@=""D:\apps\cmder\vendor\git-for-windows\git-bash.exe" --login -i"

原文地址:https://www.cnblogs.com/yuanxiaoping_21cn_com/p/9455508.html