miscellaneous-slides

Windows Terminal

Windows Terminal is a new, modern, feature rich, productive terminal application for command-line users.

It includes many features like support for tabs, rich text, globalization, configurability, theming & styling, and more.

Windows Terminal will automatically create Windows Subsystem for Linux (WSL) and PowerShell profiles for you.

Upon installing the terminal, it will set PowerShell as your default profile.

Windows Terminal

Color schemes

Windows Terminal already includes popular color schemes like One Half or Solarized.

Custom color schemes can also be defined in the schemes array of your settings.json file.

Microsoft offers some nice theme inspirations like Frosted Glass and Ubuntu Raspberry.

Another example would be the beautiful Nord theme.

	{
		"name": "Nord",
		"foreground": "#D8DEE9",
		"background": "#2E3440",
		"black": "#3B4252",
		"red": "#BF616A",
		"green": "#A3BE8C",
		"yellow": "#EBCB8B",
		"blue": "#81A1C1",
		"purple": "#B48EAD",
		"cyan": "#88C0D0",
		"white": "#E5E9F0",
		"brightBlack": "#4C566A",
		"brightRed": "#E74856",
		"brightGreen": "#16C60C",
		"brightYellow": "#F9F1A5",
		"brightBlue": "#3B78FF",
		"brightPurple": "#B4009E",
		"brightCyan": "#61D6D6",
		"brightWhite": "#F2F2F2"
	},

Git Bash

Friends don’t let friends use the git bash shell on windows. No judgement.

If you want to be really fancy, you could look up Powerline in PowerShell.

Git Bash

	{
		"guid": "{2ece5bfe-50ed-5f3a-ab87-5cd4baafed2b}",
		"name": "Git Bash",
		"source": "Git",
		"colorScheme": "Solarized Dark",
		"fontFace": "Cascadia Code",
		"startingDirectory": "%USERPROFILE%",
		"suppressApplicationTitle": true
	},

Keybindings

Windows Terminal offers familiar standard keybindings.

key function
+ 1 when pinned to taskbar
Alt + Enter or F11 toggle full screen
Alt + Click profile open the profile in a split pane
Ctrl + , open the settings
Ctrl + mouse wheel zoom with the mouse
Ctrl + = or Ctrl + - zoom with the keyboard
Ctrl + 0 restore the default text zoom
Ctrl + c copy the selection
Ctrl + v paste the clipboard
Ctrl + Tab switch to the next tab
Ctrl + Shift + Tab switch to the previous tab
Ctrl + Shift + f open the search box

SSH

Windows 10 has a built-in SSH client that you can use in Windows Terminal.

You can enter the ssh invocation directly into the “commandline” parameter.

See Tutorial: SSH in Windows Terminal for more details.

SSH Session

	{
		"guid": "{00000000-0000-0000-ba54-000000000002}",
		"name": "Raspberry 3",
		"commandline": "ssh pi@raspberry3.localdomain",
		"colorScheme": "Raspberry",
		"icon": "%USERPROFILE%\\Pictures\\Terminal\\raspberry-fav.png"
	},

Windows Subsystem for Linux (WSL)

If you have any Windows Subsystem for Linux (WSL) distributions installed,

Windows Terminal will automatically create profiles for those distributions.

WSL Debian

	{
		"guid": "{58ad8b0c-3ef8-5f4d-bc6f-23e4c00f2530}",
		"source": "Windows.Terminal.Wsl",
		"name": "Debian",
		"icon": "%USERPROFILE%\\Pictures\\Terminal\\debian.ico",
		"bellStyle": "window"
	},

Links

YouTube

Microsoft | Docs

GitHub