powershell - 即使将 Git Bash 设置为默认值,VSCode 仍会在启动时继续打开 powershell

标签 powershell visual-studio-code git-bash

我已将 VSCode 中的集成默认终端设置为 Git Bash,但是每当我启动 VSCode 时,都会弹出 powershell 而不是 bash。但是,它不会更改默认的终端设置,但很烦人。
我曾尝试从设置中删除 powershell 的配置文件,但这似乎没有任何作用。
为什么会这样?

最佳答案

Select Default Profile do not actually open gitbash. After relaunch, on startup, it just keeps open PowerShell .
同样的事情发生在我身上,Insiders' Build 05/14/2021 中提到的修复实际上确实为我修复了它。我不知道这是否会是 v1.56 点更新。同时,打开另一个终端确实总是为我打开 git bash - 但这很痛苦。

关于powershell - 即使将 Git Bash 设置为默认值,VSCode 仍会在启动时继续打开 powershell,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67552838/

相关文章:

powershell - 为什么 connectionUri 在用于 exchange 和 windows 的 WSManConnectionInfo 对象中不同?

windows - 有什么方法可以将 ls 从 Get-ChildItem 重新映射到 PowerShell 中的另一个命令吗?

python-3.x - 端口 7071 不可用。关闭使用该端口的进程,或使用 --port [-p] 指定另一个端口

javascript - 已安装实时服务器但无法在 VS 代码中运行

ruby-on-rails - 如何使用 bundle exec rake test 在 Windows gitbash 中获取颜色

windows - 在一个终端中启动多个工具,如 grunt 和 http-server

arrays - 加入 m 大小数组的前 n 个元素

powershell - 如何从 PowerShell 以编程方式列出 VSTS 代理池?

asp.net-mvc - 带有 ASP.NET MVC 项目的 Visual Studio 代码

找不到 git fatal error refs