将git Bash Here改为Shift+右键显示
2020-07-14 05:19
555 查看
我的博客:https://520526.xyz/
一直看不习惯右键菜单多出一些按钮,所以对比PowerShell按住Shift右键才显示按钮的方式,更改了注册表,达到了这种效果。
文末有自动修改的方法。
打开注册表编辑器
无需多说,
WINkey+R输入
regedit。
开始修改
分别定位
HKEY_CLASSES_ROOT\Directory\shell\和
HKEY_CLASSES_ROOT\Directory\Background\shell\,对比
PowerShell\可以发现其比
git_shell\和
git_gui\多出了一个名为
Extended的字符串值。
我们尝试在
HKEY_CLASSES_ROOT\Directory\Background\shell\git_shell\下新建
Extended字符串值,发现效果可行。
将另外三个需要修改的地方,效果如下。
自动修改
将以下代码复制到一个文本文档中,更改后缀为
.reg,并双击打开即可
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\background\shell\git_gui] "Extended"="" [HKEY_CLASSES_ROOT\Directory\background\shell\git_shell] "Extended"="" [HKEY_CLASSES_ROOT\Directory\shell\git_shell] "Extended"="" [HKEY_CLASSES_ROOT\Directory\shell\git_shell] "Extended"=""
相关文章推荐
- 关于右键Git Bash Here不能使用问题
- 【转】git bash here 右键菜单失效后的修复方法
- 删除右键菜单中的Git选项 Git init here Git GUI Git Bash
- 右键 - 添加Git Bash Here菜单
- 右键中添加Git Bash Here菜单
- 右键git bash here和git gui here失效恢复
- Git 右键添加Git Bash Here
- win8下把Git Bash Here添加到右键菜单
- 右键git bash here和git gui here失效恢复
- git bash here右键菜单
- win8下把Git Bash Here添加到右键菜单
- git bash here 右键菜单失效后的修复方法
- Windows7、Windows10下把Git Bash Here 添加到右键菜单(ContextMenu)
- Centos shell bash操作界面 不显示路径 改为显示路径的方法
- WIN10 SHIFT+右键不显示打开Dos窗口命令
- 如何使用Git Bash Here,将本地项目传到github上
- Mac在Finder直接打开iterm2并且定位到当前目录 ---------类似于git bash here
- Git bash here 配置公钥 git 命令
- 如何使用Git Bash Here,将本地项目传到github上
- git bash/gui here找不到应用程序