保存以下代码为reg注册表文件,然后鼠标右键合并到注册表即可。
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryshellash]
@="在此处打开 Bash 窗口"
"Extended"=""
"ShowBasedOnVelocityId"=dword:00639bc8
[HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryshellashcommand]
@="bash.exe"
[HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryackgroundshellash]
@="在此处打开 Bash 窗口"
"Extended"=""
"ShowBasedOnVelocityId"=dword:00639bc8
[HKEY_LOCAL_MACHINESOFTWAREClassesDirectoryackgroundshellashcommand]
@="bash.exe"
如果右键直接打开,而不是按住 shift 右键打开的话,删除 "Extended"=""
的行在导入即可。