Windows Terminal 试用

00 前言

最近由于cmder反应速度过慢, 而我又有使用后关闭窗口的强迫症
然后就困于打开Cmder过慢的问题了

尝试了Windows自带的Terminal, 由于更接近底层, 速度更快, 尽管是Preview版本, 也还是上了

下面说一下配置

01 配置

先上效果图

配置有:

  • 加入右键
  • 设置颜色
  • 快捷键

02 操作

首先是下载, 直接去store下载即可

然后设置右键添加
https://zhuanlan.zhihu.com/p/91259377

然后是颜色调整, 我直接把配置贴下来点击跳转

03 后续

除此之外, 还可以自定义emoji啥的花里胡哨的东西, 反正已经完成了替换cmder的任务, 反应快, 且支持大部分Linux指令

还需要提到的一点是, curl和wget需要配置ie选项

毕竟是尝鲜, 先用着

附加json配置参考1

以及官方参考(全英)


配置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

// 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": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",

"profiles":
[
{
// Make changes here to the powershell.exe profile
"hidden": false,
"acrylicOpacity" : 0.8,
"background" : "#012456",
// "backgroundImage" : "C:\\Users\\Elliot\\Documents\\cmder\\65304741_p6.png",
"backgroundImage" : "C:\\Users\\Elliot\\Desktop\\2.jpg",
"backgroundImageOpacity" : 0.5,
"backgroundImageStretchMode" : "fill",
"closeOnExit" : true,
// "colorScheme" : "One Half Dark",
// "colorScheme" : "Solarized Dark",
"commandline" : "powershell.exe",
"cursorColor" : "#FFFFFF",
"cursorShape" : "bar",
"fontFace" : "Consolas",
"fontSize" : 11,
"foreground" : "#00FF00",
"guid" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"historySize" : 9001,
"icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
"name" : "Windows PowerShell",
"padding" : "0, 0, 0, 0",
"snapOnInput" : true,
"startingDirectory" : null,
"useAcrylic" : true
},
{
// Make changes here to the cmd.exe profile
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "cmd",
"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": []
}

-------------本文结束  感谢您的阅读-------------