Windows terminal 启动 WSL GIT-BASH CMD Powershell 我的配置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": "{98786898-7409-58c7-b39d-196cfaf071e4}",

    "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,
            "closeOnExit" : true,
            "colorScheme" : "Campbell",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "bar",
            "historySize" : 9001,
            "useAcrylic": false,
            //"useAcrylic": true,
            "acrylicOpacity" : 0.4,
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            //背景图片可自行解除注释替换
            //蓝色壁纸
            "backgroundImage" : "https://i.loli.net/2020/02/13/tPK3dNBGwvZcYTV.jpg",
            //灰色乌班图logo壁纸
            //"backgroundImage" : "https://i.loli.net/2020/02/13/HmoDkP4MC5eVTx8.png",
            //紫色乌班图logo壁纸
            //"backgroundImage" : "https://i.loli.net/2020/02/13/3tewb8EHUYx5VP9.jpg",
            "backgroundImageOpacity" : 0.5,
            "fontFace" : "Consolas", //字体样式
            "fontSize" : 14, //字号
            "foreground" : "#FFFFFF" //字体颜色
        },
        {
            "guid": "{98786898-7409-58c7-b39d-196cfaf071e4}",
            "hidden": false,
            "name": "myUbuntu",
            "closeOnExit" : true,
            "colorScheme" : "Campbell",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "bar",
            "historySize" : 9001,
            "source": "Windows.Terminal.Wsl",
            "useAcrylic": false,
            //"useAcrylic": true,
            "acrylicOpacity" : 0.4,
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            //背景图片可自行解除注释替换
            //蓝色壁纸
            //"backgroundImage" : "https://i.loli.net/2020/02/13/tPK3dNBGwvZcYTV.jpg",
            //灰色乌班图logo壁纸
            //"backgroundImage" : "https://i.loli.net/2020/02/13/HmoDkP4MC5eVTx8.png",
            //紫色乌班图logo壁纸
            "backgroundImage" : "https://i.loli.net/2020/02/13/3tewb8EHUYx5VP9.jpg",
            "backgroundImageOpacity" : 0.5,
            "tabTitle" : "Ubuntu (WSL)",
            "fontFace" : "Consolas", //字体样式
            "fontSize" : 14, //字号
            "foreground" : "#FFFFFF" //字体颜色
        },
        {
            // Make changes here to the cmd.exe profile
            "guid": "{25387FE9-55A7-465c-91CF-82A54EC1CDF2}",
            "name": "Git-Bash",
            "commandline": "C:\\Program Files\\Git\\bin\\bash.exe",
            "startingDirectory" : "E:\\WSL",
            "icon": "C:\\Program Files\\Git\\git-icon.png",
            "hidden": false,
            "cursorShape" : "bar",
            "closeOnExit" : true,
            "colorScheme" : "Campbell",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "bar",
            "historySize" : 9001,
            "useAcrylic": false,
            //"useAcrylic": true,
            "acrylicOpacity" : 0.4,
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            "backgroundImage" : "https://i.loli.net/2020/02/13/HmoDkP4MC5eVTx8.png",
            "backgroundImageOpacity" : 0.5,
            "fontFace" : "Consolas", //字体样式
            "fontSize" : 14, //字号
            "foreground" : "#FFFFFF" //字体颜色
        },
        {
            "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": "Campbell",
            "foreground": "#F2F2F2",
            "background": "#0C0C0C",
            "colors": [
              "#0C0C0C",
              "#C50F1F",
              "#13A10E",
              "#C19C00",
              "#0037DA",
              "#881798",
              "#3A96DD",
              "#CCCCCC",
              "#767676",
              "#E74856",
              "#16C60C",
              "#F9F1A5",
              "#3B78FF",
              "#B4009E",
              "#61D6D6",
              "#F2F2F2"
            ]
          },
          {
                "name": "Solarized Dark",
                "foreground": "#FDF6E3",
                "background": "#073642",
                "colors": [
                "#073642",
                "#D30102",
                "#859900",
                "#B58900",
                "#268BD2",
                "#D33682",
                "#2AA198",
                "#EEE8D5",
                "#002B36",
                "#CB4B16",
                "#586E75",
                "#657B83",
                "#839496",
                "#6C71C4",
                "#93A1A1",
                "#FDF6E3"
                ]
          },
          {
                "name": "Solarized Light",
                "foreground": "#073642",
                "background": "#FDF6E3",
                "colors": [
                "#073642",
                "#D30102",
                "#859900",
                "#B58900",
                "#268BD2",
                "#D33682",
                "#2AA198",
                "#EEE8D5",
                "#002B36",
                "#CB4B16",
                "#586E75",
                "#657B83",
                "#839496",
                "#6C71C4",
                "#93A1A1",
                "#FDF6E3"
                ]
          },
          {
                "name": "Ubuntu",
                "foreground": "#EEEEEC",
                "background": "#2C001E",
                "colors": [
                "#EEEEEC",
                "#16C60C",
                "#729FCF",
                "#B58900",
                "#268BD2",
                "#D33682",
                "#2AA198",
                "#EEE8D5",
                "#002B36",
                "#CB4B16",
                "#586E75",
                "#657B83",
                "#839496",
                "#6C71C4",
                "#93A1A1",
                "#FDF6E3"
                ]
          },
          {
                "name": "UbuntuLegit",
                "foreground": "#EEEEEE",
                "background": "#2C001E",
                "colors": [
                "#4E9A06",
                "#CC0000",
                "#300A24",
                "#C4A000",
                "#3465A4",
                "#75507B",
                "#06989A",
                "#D3D7CF",
                "#555753",
                "#EF2929",
                "#8AE234",
                "#FCE94F",
                "#729FCF",
                "#AD7FA8",
                "#34E2E2",
                "#EEEEEE"
                ]
          }
    ],

    // Add any keybinding overrides to this array.
    // To unbind a default keybinding, set the command to "unbound"
    "keybindings": []
}

上一篇:Careercup - Google面试题 - 4847954317803520


下一篇:本文章介绍在本地电脑上运行 ASP