A memo when setting to use Linux commands when opening a terminal with VS Code of Windows.
This setting is premised on using GitBASH, so install it from the following site. https://gitforwindows.org/
Add the following to VSCode settings.json (See here for how to open settins.json)
settings.json
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\git-cmd.exe",
"terminal.integrated.shellArgs.windows": [
"--command=usr/bin/bash.exe",
"-l",
"-i"
]
This will cause the terminal to reference the commands you are using in GitBash. Will be.
https://code.visualstudio.com/docs/editor/integrated-terminal#_windows
Recommended Posts