【问题标题】:What have I missed in Windows Terminal settings.json?我在 Windows 终端 settings.json 中错过了什么?
【发布时间】:2020-09-08 00:24:21
【问题描述】:

我刚刚开始自定义 Windows 终端

我想添加 Git,它会在程序的 outside 中打开 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%"
}

【问题讨论】:

    标签: windows git terminal windows-terminal


    【解决方案1】:

    git-bash.exeWindows Terminal 可能是同一种应用程序——终端。它们与shell不同,例如cmdpowershellbashshzsh

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

    【讨论】:

      猜你喜欢
      • 2023-02-11
      • 1970-01-01
      • 2020-11-19
      • 2023-03-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多