加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

vscode设置默认shell

发布时间:2020-12-15 20:09:23 所属栏目:安全 来源:网络整理
导读:在vscode中,可以通过 Ctrl+反引号 快捷键来调出终端面板,如下图: 其中的shell(上图右下圈红部分)是可以设置的, 在 文件 - 首选项 - 设置 中打开,在用户设置中添加如下配置项: // "terminal.integrated.shell.windows": "C:WindowsSystem32WindowsPower

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

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

// "terminal.integrated.shell.windows": "C:WindowsSystem32WindowsPowerShellv1.0powershell.exe",
// "terminal.integrated.shell.windows": "C:WindowsSystem32cmd.exe",
"terminal.integrated.shell.windows": "D:softgitbinbash.exe"

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

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

欢迎补充指正!

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读