Windows 中如何使用Terminal 美化脚本,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。
// This file was initially generated by Windows Terminal 1.6.10571.0 // It should still be usable in newer versions, but newer versions might have additional // settings, help text, or changes that you will not see unless you clear this file // and let us generate a new one for you. // 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": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", // You can add more global application settings here. // To learn more about global settings, visit https://aka.ms/terminal-global-settings // If enabled, selections are automatically copied to your clipboard. "copyOnSelect": false, // If enabled, formatted data is also copied to your clipboard "copyFormatting": false, // A profile specifies a command to execute paired with information about how it should look and feel. // Each one of them will appear in the 'New Tab' dropdown, // and can be invoked from the commandline with `wt.exe -p xxx` // To learn more about profiles, visit https://aka.ms/terminal-profile-settings "profiles": { "defaults": { //启动毛玻璃 "useAcrylic":true, //毛玻璃透明度 "acrylicOpacity":0.75, //关闭窗口的时候退出所有挂载的程序 "closeOnExit" : true, //输入的时候自动滚动到输入位置 "snapOnInput" : true , //字体 等距跟纱 "fontFace":"Source Code Pro", //字体大小 "fontSize":12, //如果设置为 true,则关闭多个选项卡处于打开状态的窗口时,需要确认。 如果设置为 false,则关闭多个选项卡处于打开状态的窗口时,不需要确认。 "confirmCloseAllTabs":true, //此方法控制呈现器中文本的消除锯齿方式。 请注意,更改此设置将需要启动新的终端实例。 "antialiasingMode":"cleartype", //光标颜色 "cursorColor":"#06ed50", //启动时的窗口位置,以x,y坐标形式 "initialPosition":"0,0" }, "list": [ { // 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": "Command Prompt", "commandline": "cmd.exe", "hidden": false }, { "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", "hidden": false, "name": "Azure Cloud Shell", "source": "Windows.Terminal.Azure" } ] }, // Add custom color schemes to this array. // To learn more about color schemes, visit https://aka.ms/terminal-color-schemes "schemes": [ { "name" : "Dracula MOD", "background" : "#2c2d36", "black" : "#000000", "blue" : "#001d7e", "brightBlack" : "#abb7da", "brightBlue" : "#D6ACFF", "brightCyan" : "#A4FFFF", "brightGreen" : "#69FF94", "brightPurple" : "#FF92DF", "brightRed" : "#fa9090", "brightWhite" : "#FFFFFF", "brightYellow" : "#FFFFA5", "cyan" : "#8BE9FD", "foreground" : "#F8F8F2", "green" : "#32df5a", "purple" : "#FF79C6", "red" : "#fa9c4f", "white" : "#F8F8F2", "yellow" : "#F1FA8C" }, { "name":"Atom", "foreground": "#c5c8c6", "background": "#161719", "black": "#000000", "blue": "#85befd", "cyan": "#85befd", "green": "#87c38a", "magenta": "#b9b6fc", "red": "#fd5ff1", "white": "#e0e0e0", "yellow": "#ffd7b1", "brightBlack": "#000000", "brightBlue": "#96cbfe", "brightCyan": "#85befd", "brightGreen": "#94fa36", "brightMagenta": "#b9b6fc", "brightRed": "#fd5ff1", "brightWhite": "#e0e0e0", "brightYellow": "#f5ffa8" } ], // Add custom actions and keybindings to this array. // To unbind a key combination from your defaults.json, set the command to "unbound". // To learn more about actions and keybindings, visit https://aka.ms/terminal-keybindings "actions": [ // Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json. // These two lines additionally bind them to Ctrl+C and Ctrl+V. // To learn more about selection, visit https://aka.ms/terminal-selection { "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" }, { "command": "paste", "keys": "ctrl+v" }, // Press Ctrl+Shift+F to open the search box { "command": "find", "keys": "ctrl+shift+f" }, // Press Alt+Shift+D to open a new pane. // - "split": "auto" makes this pane open in the direction that provides the most surface area. // - "splitMode": "duplicate" makes the new pane use the focused pane's profile. // To learn more about panes, visit https://aka.ms/terminal-panes { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" } ] }
看完上述内容,你们掌握Windows 中如何使用Terminal 美化脚本的方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注亿速云行业资讯频道,感谢各位的阅读!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。