VSCode, 请在windows下使用git bash终端

用vscode在windows下调测代码,运行时默认打开的终端是windows的cmd,很不受我待见。毕竟习惯了linux,习惯了windows下的git bash风格。怎么办?

search,search,research。

先确保windows上安装了git bash。

再在vscode中搜索git bash扩展安装上。

最后,设置 git bash为默认shell。

|------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1 2 3 4 5 6 7 8 9 10 | "terminal.integrated.profiles.windows": { "PowerShell": { "source": "PowerShell", "icon": "terminal-powershell" }, "Git-Bash": { "path": "C:\\Program Files\\Git\\bin\\bash.exe" }, }, "terminal.integrated.defaultProfile.windows": "Git-Bash", |

更详细信息请参考下面文档

Windows 环境下在 VSCode 中使用 Git Bash 终端 | stevending1st

相关推荐
eastyuxiao7 小时前
如何在不同的机器上运行多个OpenClaw实例?
人工智能·git·架构·github·php
bu_shuo8 小时前
git练习学习网站【中文网站】
git·学习
秃秃然然9 小时前
Git指北
git
Freak嵌入式11 小时前
ESP32 实现在线动态安装库和自动依赖安装-使用uPyPI包管理平台
arm开发·ide·嵌入式·micropython·电子·upypi
适应规律14 小时前
Git笔记
笔记·git
csdn_aspnet14 小时前
Git二分法精准定位Bug,分享用git bisect快速锁定引入缺陷的提交,提升调试效率
git·bug·二分查找
偶尔贪玩的骑士14 小时前
Jupyter Notebook导出带中文字体PDF
ide·jupyter·pdf
秃秃然然15 小时前
IntelliJ IDEA指北
java·ide·intellij-idea
70asunflower15 小时前
VS Code 从 0 到 1 完全教程
vscode
可问春风_ren15 小时前
HTML零基础进阶教程:解锁表单、多媒体与语义化实战
前端·git·html·ecmascript·reactjs·js