{ "$schema": "https://aka.ms/terminal-profiles-schema", "defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "copyOnSelect": false, "copyFormatting": false, "profiles": { "defaults": { "fontFace": "Fira Code", // oh-my-posh "backgroundImage": "C:\\Users\\MI\\Pictures\\Saved Pictures\\wallhaven-pko8lm.jpg", "backgroundImageOpacity": 0.5, "colorScheme" : "Campbell", "acrylicOpacity": 0.7, "useAcrylic":true }, "list": [ { // Make changes here to the powershell.exe profile. "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "name": "大数据小禅", "commandline": "powershell.exe", "hidden": false }, { // Make changes here to the cmd.exe profile. "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "name": "小禅的大数据之路", "commandline": "cmd.exe", "hidden": false }, { "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", "name": "Azure Cloud Shell", "source": "Windows.Terminal.Azure" } ] }, "schemes": [ { "name" : "Campbell", "cursorColor": "#FFFFFF", "selectionBackground": "#FFFFFF", "background" : "#0C0C0C", "foreground" : "#CCCCCC", "black" : "#0C0C0C", "blue" : "#0037DA", "cyan" : "#3A96DD", "green" : "#13A10E", "purple" : "#881798", "red" : "#C50F1F", "white" : "#CCCCCC", "yellow" : "#C19C00", "brightBlack" : "#767676", "brightBlue" : "#3B78FF", "brightCyan" : "#61D6D6", "brightGreen" : "#16C60C", "brightPurple" : "#B4009E", "brightRed" : "#E74856", "brightWhite" : "#F2F2F2", "brightYellow" : "#F9F1A5" } ], "actions": [ { "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" }, { "command": "paste", "keys": "ctrl+v" }, { "command": "find", "keys": "ctrl+shift+f" }, { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" } ] }
相关参数的解释
“backgroundImage”:背景图片,根据自己电脑图片路径进行修改
“colorScheme” :颜色主题,根据schemes列表的name对应修改
“fontFace”:字体设置,可以下载对应的字体进行更换
7.总结
到这里我们的基础配置就已经修改完成,更多的配置方案与颜色小伙伴们都可以根据自己的需求参照官方文档进行修改,一个好看的终端也可以给你带来更好的工作体验。
💪在配置的过程中遇到问题的小伙伴可以直接私信下方的公众号哦,博主会尽力给你提供修改意见!