5

私のsettings.jsonは非常にシンプルで、cmd.exeをsh.exe(gitから)に置き換えています。

{
    "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) では動作しませんか? 動作するように設定するにはどうすればよいですか?

4

1 に答える 1