Windows Terminal 安装配置
程序员文章站
2022-07-05 17:26:24
...
cmd窗口替代者Windows Terminal
Windows Terminal
Windows自带的cmd窗口真是丑爆了,然后想百度个替代品,最后找的了这个Windows Terminal,它是西雅图开幕的 Build 2019 大会上,微软公布了即将面向 Win 10 推出的新命令行程序,然后折腾了一番,当然目前之用了它的cmd窗口,下边记录下方便大家DIY。
安装
1、安装前提是win10版本必须达到1903以上(按下win+r,然后输入winver查看系统版本),下边是证据,哈哈。
2、直接打开windows应用商店搜索Windows Terminal然后获取安装就可以了
配置
开始配置,安装其实没什么问题,主要是自己的定制,定制是需要修改一个json文件的,所以我去他的说明文档里翻了一下,进行了下边的总结,有需要的自己DIY就行了。
首先进来是这样的:
打开之后是一个json格式的配置文件
下边是自定义的属性以及用法说明
放一堆可以粘贴的:
`
// To view the default settings, hold “alt” while clicking on the “Settings” button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
“$schema”: “https://aka.ms/terminal-profiles-schema”,
"defaultProfile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
//"showTabsInTitlebar":false,//tab显示位置
"requestedTheme":"dark",//设置主题 light dark
"copyOnSelect":true,//选择粘贴
"profiles":
[
{
// Make changes here to the powershell.exe profile
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"hidden": false
},
{
// Make changes here to the cmd.exe profile
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "cmd命令",
"useAcrylic":true,//设置背景可变
"acrylicOpacity":0.5,//可变背景的模糊程度0-1,结合上边的使用
"background":"#FFB6C1",//背景颜色
"backgroundImage":"ms-appdata:///Local/2.jpg",//背景图路径
"backgroundImageAlignment":"",//背景对齐方式
"backgroundImageOpacity":,//背景图像的透明度0-1
"backgroundImageStretchMode":"",//背景填充方式"none","fill","uniform","uniformToFill"
"startingDirectory":"D:",//默认加载的目录
"scrollbarState":"visible",//滚动条可见性"visible","hidden"
"padding":"20,20,20,20",//行内边距
"icon":"d:/2.jpg",//图标
"fontSize":20,//
"foreground":"#FFB6C1",//字体颜色
"cursorColor":"#FFFFFF",//光标颜色
"cursorShape":"underscore",//光标形状"vintage","bar","underscore","filledBox","emptyBox"
//"fontFace":"",//字体
"commandline": "cmd.exe",
"hidden": false
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
}
],
// Add custom color schemes to this array
"schemes": [],
// Add any keybinding overrides to this array.
// To unbind a default keybinding, set the command to "unbound"
"keybindings": []
如果还有需要自己去网上找文档咯,配上地址
`
上一篇: 关于CSS的知识