我的 settings.json 非常简单,它将 cmd.exe 替换为 sh.exe(来自 git)。
{
"terminal.integrated.shell.windows": "C:\\Program Files (x86)\\Git\\bin\\sh.exe"
}
打开外壳后,绝对没有任何效果。我什至不能。
sh.exe"-3.1$ ls
sh.exe": ls: command not found
sh.exe"-3.1$ cd ..
sh.exe"-3.1$ ls
sh.exe": ls: command not found
sh.exe"-3.1$
VSCode 不能与 Mingw32(git 的 bash)一起使用吗?我该如何设置它才能工作?