windows termial 配置文件

{
    "$schema": "https://aka.ms/terminal-profiles-schema",
    "globals": {
        "alwaysShowTabs": true,
        "defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
        "initialCols": 105,
        "initialRows": 32,
        "keybindings": [
            {
                "command": "closeTab",
                "keys": [
                    "ctrl+w"
                ]
            }
        ],
        "requestedTheme": "system",
        "showTabsInTitlebar": true,
        "showTerminalTitleInTitlebar": true
    },
    "profiles": [
        {
            "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
            "name": "Windows PowerShell",
            "commandline": "powershell.exe -NoLogo",
            "acrylicOpacity": 0.75,
            "closeOnExit": true,
            "colorScheme": "Campbell",
            "cursorColor": "#FFFFFF",
            "cursorShape": "bar",
            "fontFace": "Microsoft YaHei Mono",
            "fontSize": 12,
            "historySize": 9001,
            "padding": "0, 0, 0, 0",
            "snapOnInput": true,
            "startingDirectory": "./",
            "useAcrylic": true
        },
        {
            // Make changes here to the cmd.exe profile
            "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
            "name": "cmd",
            "commandline": "cmd.exe",
            "hidden": false,
            "acrylicOpacity": 0.75,
            "closeOnExit": true,
            "colorScheme": "Campbell",
            "cursorColor": "#FFFFFF",
            "cursorShape": "bar",
            "fontFace": "Microsoft YaHei Mono",
            //"fontFace": "Microsoft YaHei Mono",
            "fontSize": 12,
            "historySize": 9001,
            "padding": "0, 0, 0, 0",
            "snapOnInput": true,
            "startingDirectory": "./",
            "useAcrylic": true
        },
        {
            "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
            "hidden": false,
            "name": "Ubuntu",
            "source": "Windows.Terminal.Wsl",
            "acrylicOpacity": 0.75,
            "closeOnExit": true,
            "colorScheme": "Campbell",
            "cursorColor": "#FFFFFF",
            "cursorShape": "bar",
            "fontFace": "Microsoft YaHei Mono",
            "fontSize": 12,
            "historySize": 9001,
            "padding": "0, 0, 0, 0",
            "snapOnInput": true,
            "startingDirectory": "./",
            "useAcrylic": true
        },
        {
            "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
            "hidden": false,
            "name": "Azure Cloud Shell",
            "source": "Windows.Terminal.Azure",
            "acrylicOpacity": 0.75,
            "closeOnExit": true,
            "colorScheme": "Campbell",
            "cursorColor": "#FFFFFF",
            "cursorShape": "bar",
            "fontFace": "Microsoft YaHei Mono",
            "fontSize": 12,
            "historySize": 9001,
            "padding": "0, 0, 0, 0",
            "snapOnInput": true,
            "startingDirectory": "./",
            "useAcrylic": true
        }
        
    ],
    "schemes": [
        {
            "background": "#0C0C0C",
            "black": "#0C0C0C",
            "blue": "#0037DA",
            "brightBlack": "#767676",
            "brightBlue": "#3B78FF",
            "brightCyan": "#61D6D6",
            "brightGreen": "#16C60C",
            "brightPurple": "#B4009E",
            "brightRed": "#E74856",
            "brightWhite": "#F2F2F2",
            "brightYellow": "#F9F1A5",
            "cyan": "#3A96DD",
            "foreground": "#CCCCCC",
            "green": "#13A10E",
            "name": "Campbell",
            "purple": "#881798",
            "red": "#C50F1F",
            "white": "#CCCCCC",
            "yellow": "#C19C00"
        }
    ]
}

 添加右键菜单

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]
@="Windows Terminal here"
"Icon"="%USERPROFILE%\\AppData\\Local\\Terminal\\terminal.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@="C:\\Users\\%username%\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe"

猜你喜欢

转载自www.cnblogs.com/TAMING/p/12398886.html