0

我刚开始定制Windows Terminal

我想添加Git ,它会在程序之外打开 git-bash.exe 。

我在 settings.json 中错过了什么?

在此处输入图像描述

这就是 settings.json "profiles" -> "list" 数组

{
"guid": "{00000000-0000-0000-0000-000000000001}",
"name" : "Git",
"commandline" : "I:/Git/git-bash.exe",
"hidden": false,
"icon" : "I:/Git/mingw64/share/git/git-for-windows.ico",
"padding": "8, 8, 8, 8",
"closeOnExit" : "always",
"snapOnInput": true,
"historySize" : 9001,
"startingDirectory": "%USERPROFILE%"
}
4

1 回答 1

0

git-bash.exe并且Windows Terminal可能是同一种应用程序——终端。它们与 shell 不同,例如cmd, powershell, bash, sh, zsh

https://stackoverflow.com/a/61969136/11831045

于 2020-05-25T07:33:31.133 回答