Fork me on GitHub

李可

导航

vscode使用shell

https://stackoverflow.com/questions/42606837/how-to-use-bash-on-windows-from-visual-studio-code-integrated-terminal

1,确保你的电脑安装git,并找到安装位置

2,vscode-》ctrl+shift+p--》打开用户配置--》 搜索 terminal.integrated.shell.windows
"terminal.integrated.shell.windows": "C:\Windows\system32\cmd.exe"
修改为安装位置,一般为"C:\Program Files\Git\bin\bash.exe"

3 结果:

posted on 2018-04-08 15:09  李可在江湖  阅读(12542)  评论(0编辑  收藏  举报