关于
Windows Terminal(Windows终端)是微软公司于西雅图开幕的Build 2019大会上所公布的面向Windows10的新命令行程序。用户可以通过Microsoft应用商店安装,或从Github下载源码自行编译安装。这一程序把目前Windows上的PowerShell、CMD以及Windows Linux子系统(WSL)三大环境实现了统一。
安装
Github地址:https://github.com/microsoft/terminal
微软应用商店下载地址:https://www.microsoft.com/zh-cn/p/windows-terminal/9n0dx20hk701?activetab=pivot:overviewtab
美化
运行Windows Terminal,快捷键ctrl+,
打开配置文件
"profiles" -> "defaults"
为全局配置"profiles" -> "list"
为每个Shell单独配置
没有特殊需求则直接添加全局配置
在"profiles" -> "defaults"
里添加
//添加背景图片地址,注意路径中的 \ 需替换成 \\ "backgroundImage" : "D:\\image\\a.jpg, //设置图片不透明度 "backgroundImageOpacity" : 0.3
更多可配置属性:https://docs.microsoft.com/zh-cn/windows/terminal/customize-settings/profile-settings

替换cmd
没找到方法。我习惯Win
+R
输入cmd
打开cmd窗口。发现输入wt
可打开Windows Terminal,这样也挺方便的
有用的链接:
https://github.com/microsoft/terminal/blob/master/doc/cascadia/SettingsSchema.md
https://printempw.github.io/windows-terminal-setup-guide/
0 条评论