我的settings.json非常简单,它用sh.exe(来自git)替换了cmd.exe。
{
"terminal.integrated.shell.windows": "C:\\Program Files (x86)\\Git\\bin\\sh.exe"
}
打开终端后,所有内容都无法正常工作。我甚至无法运行 ls 命令。
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)一起使用吗?我该如何设置才能让它工作?