My Windows Terminal Config

The new windows terminal is really great and offers many configuration options, even it is still in preview (1.0 is planned for May 2020). In this blog post, I want to quickly show my configuration and some things that I think are good to know when you work with Windows Terminal.

What is the Windows Terminal?

The Windows Terminal is Open Source and can be downloaded via the Windows Store.
It supports tabs and integrates different shells such as Powershell, Powershell Core, Command Line, WSL (Ubuntu and others). It is customizable in different ways and it could e.g. look as follows:

You can run the Windows Terminal by executing wt. So I usually use:

<Win + R>
wt
RETURN

My Configuration

Below, you can find my current configuration. I just want to bring your attention to a few settings:

  • profiles – defaults: Those settings apply to all your shells. You can overwrite them in each profile.
  • fontSize: Size of the font
  • fontFace: Microsoft released a new font called “Cascadia Code” which is worth to try it out. You can find it on GitHub.
  • startingDirectory: The standard directory of the shell that is opened. Its really great to be able to set it to a path that is really in use. The standard path was always c:\Users\myuser which I never needed in the console.
  • experimental.retroTerminalEffect: A funny effect that makes the console look like 30 years ago (restart needed).
  • backgroundImage, backgroundImageOpacity, backgroundImageStretchMode, backgroundImageAlignment: Let you specify the background. And yes – GIFs work, so if you want an animated matrix background – feel free.

Description of all settings: https://github.com/microsoft/terminal/blob/master/doc/cascadia/SettingsSchema.md

// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
// My personal settings - checkout arminreiter.com
// list of all settings: https://github.com/microsoft/terminal/blob/master/doc/cascadia/SettingsSchema.md
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
// "initialCols": 120,
// "initalRows": 30,
"theme": "dark",
"profiles": {
"defaults": {
"acrylicOpacity": 1.0,
"useAcrylic": false,
"fontSize": 10,
"fontFace": "Cascadia Code",
"startingDirectory": "c:\\",
"background": "#000000",
"backgroundImage": "c:\\data\\tmp\\WindowsTerminal\\LogoQuerWhite.png",
"backgroundImageOpacity": 0.8,
"backgroundImageStretchMode": "none",
"backgroundImageAlignment": "topRight",
"experimental.retroTerminalEffect": false
},
"list": [
{
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"name": "PowerShell",
"source": "Windows.Terminal.PowershellCore"
},
{
// Make changes here to the powershell.exe profile
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe"
},
{
// Make changes here to the cmd.exe profile
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "cmd",
"commandline": "cmd.exe"
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
},
{
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl"
}
]
},
// Add custom color schemes to this array
"schemes": [],
// Add any keybinding overrides to this array.
// To unbind a default keybinding, set the command to "unbound"
"keybindings": []
}
view raw windowsterminal.json hosted with ❤ by GitHub

I also linked it on my new Resources section.

Categories:

No responses yet

Leave a Reply

Your email address will not be published. Required fields are marked *