vscode设置默认shell

在vscode中,可以通过 Ctrl+反引号快捷键来调出终端面板,如下图:

其中的shell(上图右下圈红部分)是可以设置的,
文件 -> 首选项 -> 设置中打开,在用户设置中添加如下配置项:

// "terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
// "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
"terminal.integrated.shell.windows": "D:\\soft\\git\\bin\\bash.exe"

powershell,cmd,和bash(我这里安装了git,所以可以如上设置)我都试过,都可以用的.

这样一来,就可以放弃难用的cmd了.

欢迎补充指正!

相关文章

用的openwrt路由器,家里宽带申请了动态公网ip,为了方便把2...
#!/bin/bashcommand1&command2&wait从Shell脚本并行...
1.先查出MAMP下面集成的PHP版本cd/Applications/MAMP/bin/ph...
1、先输入locale-a,查看一下现在已安装的语言2、若不存在如...
BashPerlTclsyntaxdiff1.进制数表示Languagebinaryoctalhexa...
正常安装了k8s后,使用kubect工具后接的命令不能直接tab补全...