Loading

Windows 开启Linux子系统后使用右键打开Bash

保存以下代码为reg注册表文件,然后鼠标右键合并到注册表即可。

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\bash]
@="在此处打开 Bash 窗口"
"Extended"=""
"ShowBasedOnVelocityId"=dword:00639bc8

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\bash\command]
@="bash.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\bash]
@="在此处打开 Bash 窗口"
"Extended"=""
"ShowBasedOnVelocityId"=dword:00639bc8

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\bash\command]
@="bash.exe"

如果右键直接打开,而不是按住 shift 右键打开的话,删除 "Extended"="" 的行在导入即可。

posted @ 2020-04-01 11:44  方圆百里找对手  阅读(245)  评论(0编辑  收藏  举报