您好,登錄后才能下訂單哦!
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進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。