The Windows profiles to present when creating a new terminal via the terminal dropdown. Set to null to exclude them, use the source property to use the default detected configuration. Or, set the path and optional args

vscode setting.json

// ...
"terminal.integrated.profiles.windows": {
  "PowerShell": {
    "source": "PowerShell",
    "icon": "terminal-powershell"
  },
  "Command Prompt": {
    "path": [
      "${env:windir}\\Sysnative\\cmd.exe",
      "${env:windir}\\System32\\cmd.exe"
    ],
    "args": [],
    "icon": "terminal-cmd"
  },
  "GitBash": {
    "source": "GitBash",
    // "path": ["D:\\Programs\\Git\\bin\\bash.exe"],
    "icon": "terminal-bash"
  }
},
"terminal.integrated.defaultProfile.windows": "GitBash",

相关文章:

  • 2021-12-15
  • 2021-04-01
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
  • 2021-09-16
猜你喜欢
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2021-06-13
  • 2021-04-13
  • 2022-12-23
  • 2021-09-22
相关资源
相似解决方案