Windows Terminal 主题配置

安装及配置参考:https://www.cnblogs.com/KiraYoshikage/p/11443741.html

最后颜色主题感觉不太好看,自己改了下,在这里做个备份。最后的配置文件如下:

{
    "$schema": "https://aka.ms/terminal-profiles-schema",

    "defaultProfile": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",

    "initialCols" : 82,
    "initialRows" : 30,
    "showTabsInTitlebar" : true,
    "showTerminalTitleInTitlebar" : 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",
            "commandline": "cmd.exe",
            "hidden": false
        },
        {
            "guid": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
            "hidden": false,
            "name": "Ubuntu-18.04",
            "source": "Windows.Terminal.Wsl",
            "closeOnExit" : true,
            "colorScheme" : "UbuntuDark",
            "startingDirectory" : "D:workSpace",
            "fontFace": "Courier new",
            "fontSize" : 11
        },
        {
            "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
            "hidden": false,
            "name": "Azure Cloud Shell",
            "source": "Windows.Terminal.Azure"
        }
    ],

    // Add custom color schemes to this array
    "schemes": [
        {
            "name": "Ubuntu",
            "foreground": "#EEEEEC",
            "background": "#2C001E",
            "colors": [
            "#EEEEEC",
            "#16C60C",
            "#333333",
            "#B58900",
            "#268BD2",
            "#D33682",
            "#2AA198",
            "#EEE8D5",
            "#002B36",
            "#CB4B16",
            "#586E75",
            "#657B83",
            "#839496",
            "#6C71C4",
            "#93A1A1",
            "#FDF6E3"
            ]
        },
        {
            "name": "UbuntuDark",
            "foreground": "#AAAAAA",
            "background": "#222222",
            "colors": [
            "#4E9A06",
            "#CC0000",
            "#333333",      // 目录背景色
            "#C4A000",
            "#AADDFF",      // 目录前景色
            "#75507B",
            "#06989A",
            "#D3D7CF",
            "#555753",
            "#EF2929",      // 链接文件颜色
            "#AADDAA",      // 普通文件颜色
            "#FCE94F",      
            "#729FCF",      // 当前所在路径文字颜色
            "#AD7FA8",
            "#34E2E2",
            "#EEEEEE"
            ]
        }
    ],
    "keybindings": []
}

效果如下图:
Windows Terminal 主题配置_第1张图片

你可能感兴趣的:(Windows Terminal 主题配置)