Skip to content

Windows Terminal

What Where
Store https://www.microsoft.com/de-de/p/windows-terminal/9n0dx20hk701?activetab=pivot:overviewtab
Docs https://docs.microsoft.com/en-us/windows/terminal/

Tips

Open a new Terminal Window with powershell 7, cmd and WSL (in my case ubuntu)

wt -p "PowerShell 7" `; split-pane -p "cmd" `; split-pane -H wsl.exe

Customized command prompt

Install the required modules

Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser

Check available themes:

Get-PoshThemes

If this doesn't look good install a font that works e.g. NerdFonts.

Now update $PROFILE to load modules with every start

echo "Import-Module posh-git") >> $PROFILE
echo "Import-Module oh-my-posh" >> $PROFILE

Add the Theme you like as well e.g. paradox:

echo "Set-PoshPrompt -Theme paradox" >> $PROFILE

settings.json

Edit the "settings.json" and add under "profiles", "defaults" a line for a font you like e.g.:

"fontFace": "MesloLGM NF"