terminal的使用
微软应用商店直接搜terminal安装就行了
无法打开商店的话就把链接复制在https://store.rg-adguard.net/上搜索
安装这样后缀的
然后就行了
美化
打开设置
打开json
复制我配置
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "copy",
"singleLine": false
},
"keys": "ctrl+c"
},
{
"command": "find",
"keys": "ctrl+shift+f"
},
{
"command": "paste",
"keys": "ctrl+v"
},
{
"command":
{
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
},
"keys": "alt+shift+d"
}
],
"copyFormatting": "none",
"copyOnSelect": false,
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"profiles":
{
"defaults": {
"useAcrylic" : true,
"acrylicOpacity" :0.75,
"backgroundImageOpacity" : 0.3
},
"list":
[
{
"colorScheme": "Aurelia",//颜色主题
"background" : "#000000",
"backgroundImage" : "D://Git//1.jpg", //这里是背景图片,要改成你自己的,注意路径中的\要改成//,不然会报错!
"backgroundImageOpacity" : 0.3,
"closeOnExit" : true,
"commandline" : "powershell.exe",
"cursorColor" : "#FFFFFF",
"cursorShape" : "bar",
"fontFace" : "Consolas",
"fontSize" : 12,
"guid" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",//guid可能你的跟我不一样,要改成你自己的!
"historySize" : 9001,
"icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
"name": "powershell",
"padding" : "0, 0, 0, 0",
"snapOnInput" : true,
"startingDirectory" : "%USERPROFILE%",
"tabTitle" : "Powershell",
"useAcrylic" : true,
"acrylicOpacity" :0.75
},
{
"colorScheme": "Monokai Night",//颜色主题
"acrylicOpacity" : 0.8,
"backgroundImage" : "D://Git//2.jpg", //这里是背景图片,要改成你自己的,注意路径中的\要改成//,不然会报错!
"backgroundImageOpacity" : 0.3,
"closeOnExit" : true,
"commandline" : "cmd.exe",
"cursorColor" : "#FFFFFF",
"cursorShape" : "bar",
"fontFace" : "Consolas",
"fontSize" : 12,
"guid" : "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",//guid可能你的跟我不一样,要改成你自己的!
"historySize" : 9001,
"icon" : "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
"name" : "cmd",
"padding" : "0, 0, 0, 0",
"snapOnInput" : true,
"startingDirectory" : "%USERPROFILE%",
"tabTitle" : "cmd",
"useAcrylic" : true
},
{
"backgroundImage" : "D://Git//1.jpg", //这里是背景图片,要改成你自己的,注意路径中的\要改成//,不然会报错!
"backgroundImageOpacity" : 0.3,
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b7}",
"hidden": false,
"name": "git bash",
"commandline": "D:\\Git\\bin\\bash.exe",
"icon": "https://tse1-mm.cn.bing.net/th?id=OIP-C.z2yEQu667QQqUMmwrYDUmwAAAA&w=144&h=165&c=8&rs=1&qlt=90&o=6&dpr=1.24&pid=3.1&rm=2"
},
{
"colorScheme": "One Half Dark",//颜色主题
"backgroundImage" : "D://Git//1.jpg",
"guid": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
"name": "Ubuntu-18.04",
"useAcrylic" : true,
"acrylicOpacity" :0.75,
"source": "Windows.Terminal.Wsl"
},
//阿里云
{
"colorScheme": "Thanatos Dark",//颜色主题
"backgroundImage" : "D://Git//1.jpg",
"guid": "{65b6fa87-bd05-4613-b3ae-c47e569903b2}",
"hidden": false,
"name": "阿里云centos",
"useAcrylic" : true,
"acrylicOpacity" :0.75,
"commandline": "ssh -i D:\\Git\\id_rsa root@47.96.131.116 -p 22",
"icon": "https://tse1-mm.cn.bing.net/th?id=OIP-C.8B9dM7yRC-BIiH7IibL3bQHaHa&w=124&h=165&c=8&rs=1&qlt=90&o=6&dpr=1.24&pid=3.1&rm=2"
}
]
},
"schemes":
[
{"name": "Aurelia",
"background": "#1a1a1a",
"black": "#000000",
"blue": "#579BD5",
"brightBlack": "#797979",
"brightBlue": "#9CDCFE",
"brightCyan": "#2BC4E2",
"brightGreen": "#1AD69C",
"brightPurple": "#975EAB",
"brightRed": "#EB2A88",
"brightWhite": "#EAEAEA",
"brightYellow": "#e9ad95",
"cyan": "#00B6D6",
"foreground": "#EA549F",
"green": "#4EC9B0",
"purple": "#714896",
"red": "#E92888",
"white": "#EAEAEA",
"yellow": "#CE9178"
},
{"name" : "Monokai Night","background" : "#1f1f1f","foreground" : "#f8f8f8","black" : "#1f1f1f","blue" : "#6699df","cyan" : "#e69f66","green" : "#a6e22e","purple" : "#ae81ff","red" : "#f92672","white" : "#f8f8f2","yellow" : "#e6db74","brightBlack" : "#75715e","brightBlue" : "#66d9ef","brightCyan" : "#e69f66","brightGreen" : "#a6e22e","brightPurple" : "#ae81ff","brightRed" : "#f92672","brightWhite" : "#f8f8f2","brightYellow" : "#e6db74"},
{"acrylicOpacity" : 0.85,"background" : "#373B3E","backgroundImage" : "","backgroundImageAlignment" : "bottomRight","backgroundImageOpacity" : 0.3,"backgroundImageStretchMode" : "uniform","closeOnExit" : true,"colorScheme" : "One Half Dark","commandline" : "powershell.exe","cursorColor" : "#FFFFFF","cursorShape" : "bar","fontFace" : "Consolas","fontSize" : 10,"guid" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}","historySize" : 9001,"icon" : "","padding" : "0, 0, 0, 0","snapOnInput" : true,"tabTitle" : "Poweshell","useAcrylic" : true,"background" : "#282C34","black" : "#282C34","blue" : "#61AFEF","brightBlack" : "#5A6374","brightBlue" : "#61AFEF","brightCyan" : "#56B6C2","brightGreen" : "#98C379","brightPurple" : "#C678DD","brightRed" : "#E06C75","brightWhite" : "#DCDFE4","brightYellow" : "#E5C07B","cyan" : "#56B6C2","foreground" : "#DCDFE4","green" : "#98C379",
"name" : "One Half Dark","purple" : "#C678DD","red" : "#E06C75","white" : "#DCDFE4","yellow" : "#E5C07B"},
{"name": "Thanatos Dark","background" : "#1a2b3c","foreground" : "#e09887","selectionBackground": "#fef8ec","black": "#65737e","blue": "#0e9bd1","brightBlack": "#acacac","brightBlue": "#7899ba","brightCyan": "#0099ad","brightGreen": "#0de1b1","brightRed": "#d47186","brightWhite": "#fef8ec","brightYellow": "#d8cb32","brightPurple": "#ab43aa","purple": "#928ba6","cyan": "#008486","green": "#0099ad","red": "#ce4559","white": "#fef8ec","yellow": "#d8cb32"},{"name": "Thanatos Light","background" : "#f6f6f0","foreground" : "#3f5060","selectionBackground": "#0e639c","black": "#36475b","blue": "#0e9bd1","brightBlack": "#65737e","brightBlue": "#7899ba","brightCyan": "#008a8e","brightGreen": "#0de1b1","brightRed": "#d47186","brightWhite": "#1a2b3c","brightYellow": "#eaa221","brightPurple": "#ab43aa","purple": "#ab43aa","cyan": "#008486","green": "#008a8e","red": "#e19887","white": "#7899ba","yellow": "#eaa221"}
]
}
自己修改配置的话可以上 https://terminalsplash.com/
然后复制在 schemes下
terminal连接远程服务器参考这篇文章
道阻且长,行则将至