我想将 git bash 添加到 Windows 终端,但是,当我在终端中添加新的 git bash 选项卡时,git bash 将在另一个窗口中打开。
这是我的配置:
{
"guid": "{--------------------}",
"acrylicOpacity" : 0.75,
"closeOnExit" : true,
"colorScheme" : "Campbell",
"commandline" : "C:\\Users\\anonymous\\AppData\\Local\\Programs\\Git\\git-bash.exe",
"cursorColor" : "#FFFFFF",
"cursorShape" : "bar",
"fontFace" : "Consolas",
"fontSize" : 10,
"historySize" : 9001,
"icon" : "C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico",
"name" : "Git Bash",
"padding" : "0, 0, 0, 0",
"snapOnInput" : true,
"useAcrylic" : true
}
Output:
我缺少什么?
我不知道这是否是正确的解决方案,但我尝试更改它以打开sh.exe
在 bin 文件夹中,带有参数--login
现在可以了。
EDIT
正如评论中提到的,bash.exe
还可以工作。 (任何在bin
folder)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)