即使将 Git Bash 设置为默认值,VSCode 仍会在启动时继续打开 powershell [英] VSCode keeps opening powershell on start even though Git Bash is set as default

查看:131
本文介绍了即使将 Git Bash 设置为默认值,VSCode 仍会在启动时继续打开 powershell的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I have set my integrated default terminal in VSCode as Git Bash but whenever I launch VSCode, powershell pops up instead of bash. It does not, however, change the default terminal setting but it is irritating. I have tried removing the profile of powershell from settings but that seems to do nothing. Why is this happening?

推荐答案

参见 选择默认配置文件 do实际上并没有打开 gitbash.重新启动后,在启动时,它只是保持打开 PowerShell.

同样的事情发生在我身上,Insiders' Build 05/14/2021 中提到的修复实际上为我修复了它.我不知道这是否会是 v1.56 点更新.同时,打开另一个终端确实总是为我打开 git bash - 但这很痛苦.

The same thing was happening to me and the referred to fix in the Insiders' Build 05/14/2021 did in fact fix it for me. I do not know if this will be a v1.56 point update. In the meantime, opening another terminal does always open git bash for me - but that is a pain.

这篇关于即使将 Git Bash 设置为默认值,VSCode 仍会在启动时继续打开 powershell的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆