====== Windows Terminal ====== siehe Wikieintrag zu [[powershell|PowerShell]] **[[https://microsoft.com/p/windows-terminal/9n0dx20hk701|Windows Terminal]]** – The new Windows Terminal and the original Windows console host, all in the same place! GitHub: [[https://github.com/microsoft/terminal]] Trailer: [[https://youtu.be/8gw0rXPMMPE|The new Windows Terminal]] Mit bestimmten Schriftarten/Fonts wie z.B. [[https://github.com/tonsky/FiraCode|Fira Code]] (von mir bevorzugt) oder [[https://github.com/microsoft/cascadia-code|Cascadia Code]] (von Microsoft für Windows Terminal konzipiert) kann man die [[ligaturen|Ligaturen]] aktivieren. ===== Konfigurationsdatei (version: 1.16) ===== * Der Acrylic Effekt (Lichtdurchlässigkeit) wird mit ''useAcrylic'' konfiguriert * Die Transparenz/Undurchsichtigkeit wird mit ''opacity'' konfiguriert (funktioniert erst ab Win 11 eigenständig, vorher wird ''useAcrylic: true'' vorrausgesetzt) * Für WSL Distros die als Appx Pakete installiert wurden (z.B. Debian aus dem MS Store) kann das Icon mit diesem PowerShell Kommando an eine Stelle kopiert werden, an der das Terminal es finden kann (siehe config): ''%%$distro = "TheDebianProject.DebianGNULinux"; Copy-Item "$($(Get-AppxPackage -Name $distro).InstallLocation)/Assets/StoreLogo.scale-200.png" "$env:LOCALAPPDATA/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/RoamingState/debian.png"%%'' { "$help": "https://aka.ms/terminal-documentation", "$schema": "https://aka.ms/terminal-profiles-schema", "actions": [ { "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+c" }, { "command": "paste", "keys": "ctrl+v" }, { "command": "find", "keys": "ctrl+f" }, { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+d" } ], "alwaysOnTop": false, "alwaysShowNotificationIcon": false, "alwaysShowTabs": true, "autoHideWindow": false, "centerOnLaunch": false, "confirmCloseAllTabs": true, "copyFormatting": false, "copyOnSelect": true, "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", "disableAnimations": false, "disabledProfileSources": [ "Windows.Terminal.Azure" ], "firstWindowPreference": "persistedWindowLayout", "focusFollowMouse": true, "initialCols": 128, "initialRows": 32, "largePasteWarning": true, "launchMode": "default", "minimizeToNotificationArea": false, "multiLinePasteWarning": true, "newTabPosition": "afterLastTab", "profiles": { "defaults": { "adjustIndistinguishableColors": "indexed", "altGrAliasing": true, "antialiasingMode": "cleartype", "bellStyle": [ "window", "taskbar" ], "closeOnExit": "graceful", "colorScheme": "Campbell", "cursorColor": "#00FF00", "cursorShape": "emptyBox", "font": { "face": "Fira Code", "size": 10, "weight": "normal" }, "intenseTextStyle": "all", "opacity": 80, "scrollbarState": "visible", "selectionBackground": "#8000FF", "snapOnInput": true, "suppressApplicationTitle": false, "unfocusedAppearance": { "cursorShape": "bar" }, "useAcrylic": false }, "list": [ { "closeOnExit": "always", "guid": "{58ad8b0c-3ef8-5f4d-bc6f-13e4c00f2530}", "hidden": false, "icon": "ms-appdata:///roaming/debian.png", //$distro = "TheDebianProject.DebianGNULinux"; Copy-Item "$($(Get-AppxPackage -Name $distro).InstallLocation)/Assets/StoreLogo.scale-200.png" "$env:LOCALAPPDATA/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/RoamingState/debian.png" "name": "Debian", "source": "Windows.Terminal.Wsl" }, { "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", "hidden": false, "name": "PowerShell", "source": "Windows.Terminal.PowershellCore" }, { "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "hidden": false, "name": "Windows PowerShell" }, { "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "hidden": true, "name": "Command Prompt" }, { "guid": "{b2b32973-c346-5b67-8b73-b6e6932b8290}", "hidden": false, "name": "Developer PowerShell for VS 2022", "source": "Windows.Terminal.VisualStudio" }, { "guid": "{48d9875d-c45e-5238-8940-b0bac3b07b7b}", "hidden": true, "name": "Developer Command Prompt for VS 2022", "source": "Windows.Terminal.VisualStudio" } ] }, "schemes": [], "showAdminShield": true, "showTabsInTitlebar": true, "showTerminalTitleInTitlebar": true, "snapToGridOnResize": true, "startOnUserLogin": false, "tabSwitcherMode": "inOrder", "tabWidthMode": "equal", "theme": "dark", "themes": [], "trimBlockSelection": true, "trimPaste": true, "useAcrylicInTabRow": true, "windowingBehavior": "useNew", "wordDelimiters": " ./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}~?│·≪≫⏎␣" // add characters used in vim config: "·≪≫⏎␣" }