git-bash - Git Bash 选项卡在 Windows 终端上显示路径而不是标题“Git Bash”
问题描述
我刚刚在我的 Windows 终端中配置了 Git Bash,但标题选项卡显示了终端打开的路径,我希望它只显示标题 Git Bash。帮助将不胜感激。
这是屏幕截图
第一个选项卡是 Git Bash,而第二个是 Powershell。我希望第一个选项卡像第二个一样显示标题Git Bash 。
这是我的 Windows 终端的设置
{
"guid": "{abc00000-0000-0000-0000-000000000000}",
"name": "Git Bash",
"commandline": "%PROGRAMFILES%\\Git\\bin\\bash.exe",
"icon": "%PROGRAMFILES%\\Git\\mingw64\\share\\git\\git-for-windows.ico",
"hidden": false
}
解决方案
您可以使用 中的tabTitle
属性settings.json
。
将此行添加到您的“Git Bash”配置文件中。
"tabTitle": "Git Bash",
推荐阅读
- python - 使用 matplotlib 在条形图中并排显示多列
- visual-studio - Visual Studio 2019 CE 的 Eclipse 键盘映射
- sql-server - MSSQL 插入索引作为提示
- c - 如何摆脱分段错误(核心转储)
- javascript - POST 后模型未捕获的动态生成的隐藏字段
- excel - 如何将行标记为标题
- python - 我可以使用scrapy点击没有href但有onclick属性的按钮吗?
- flutter - Bloc 未在 initstate 中添加
- python - Row height does not work when wrapping text (xlsxwriter)
- java - 如何使用 okHttp 测试执行 HTTP 调用(以获取覆盖率)的代码