Roy*_*Roy 7 git git-bash windows-terminal
我想将 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
}
Run Code Online (Sandbox Code Playgroud)
输出:
我错过了什么?
Roy*_*Roy 15
我不知道这是否是正确的解决方案,但我尝试更改它以sh.exe使用参数打开bin 文件夹中的 ,--login现在它可以工作了。
编辑
正如评论中提到的,bash.exe也可以工作。(bin文件夹中的任何内容)
| 归档时间: |
|
| 查看次数: |
3434 次 |
| 最近记录: |