Windows Terminal 是微软出品的开源 终端工具,官方文档GitHub
Microsoft Store 安装 Windows 终端。

Snipaste_2020-09-01_16-44-06.jpg

  • 全局设置

       "$schema": "https://aka.ms/terminal-profiles-schema",         // 概览
       "defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",   // 默认启动配置文件
       "disabledProfileSources": [],                                 // 禁用动态配置文件
       "initialCols": 138,                                           // 首次启动时的列
       "initialRows": 36,                                            // 首次启动时的行
       "launchMode": "default",                                      // 启动大小
       "initialPosition":"317,88",                                   // 启动位置
       "copyOnSelect": false,                                        // 选择内容后复制
       "copyFormatting": true,                                       // 复制格式
       "wordDelimiters": " /\\()\"'-.,:;<>~!@#$%^&*|+=[]{}~?\u2502", // 字分隔符
       "alwaysShowTabs": true,                                       // 始终显示选项卡
       "showTabsInTitlebar": true,                                   // 显示/隐藏标题栏
       "showTerminalTitleInTitlebar": false,                         // 设置标题栏中的文本
       "tabWidthMode": "equal",                                      // 选项卡宽度模式
       "confirmCloseAllTabs": false,                                 // 隐藏关闭所有选项卡弹出窗口
       "startOnUserLogin":  false,                                   // 在计算机启动时启动
       "theme": "system",                                            // 深色/浅色主题
       "rowsToScroll": "system",                                     // 滚动速度
       "snapToGridOnResize": true,                                   // 窗口大小调整行为
       "multiLinePasteWarning": false,                               // 粘贴含换行符的内容出现确认对话框
    
  • 配置文件

       "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",                                 // 唯一标识符
       "commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", // 命令行
       "startingDirectory": "D:",                                                        // 起始目录
       "name": "Windows PowerShell",                                                     // 名字
       "icon": "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",     // 图标
       "hidden": false,                                                                  // 在下拉列表中隐藏
       "tabTitle" : "Windows PowerShell",                                                // 自定义选项卡标题
       "suppressApplicationTitle": true,                                                 // 禁止 shell 更改标题
       "fontFace": "Cascadia Code PL",                                                   // 字体
       "fontSize": 12,                                                                   // 字体大小
       "fontWeight": "normal",                                                           // 字体粗细
       "padding": "8, 8, 8, 8",                                                          // 填充
       "antialiasingMode" : "aliased",                                                   // 消除文本锯齿
       "cursorShape": "bar",                                                             // 光标形状
       "altGrAliasing": true,                                                            // AltGr 别名
       "colorScheme": "One Half Dark",                                                   // 配色方案
       "useAcrylic": true,                                                               // 启用 acrylic 
       "acrylicOpacity" : 1.0,                                                           // Acrylic 不透明度
       "scrollbarState": "hidden",                                                       // 滚动条可见性
       "snapOnInput": true,                                                              // 键入时滚动到输入行
       "historySize": 9001,                                                              // 历史记录大小
       "closeOnExit": "graceful"                                                         // 退出时配置文件的关闭方式
    
最后修改:2023 年 03 月 07 日 11 : 39 AM