From https://docs.microsoft.com/en-us/windows/terminal/tutorials/powerline-setup
https://starship.rs/guide/#%F0%9F%9A%80-installation Install a NerdFont.
winget install --id Starship.Starship
Install-Module -Name PSReadLine -Scope CurrentUser -Force
Install-Module PSFzf -Scope CurrentUser
Make sure fzf.exe is in the PATH.
notepad $PROFILE
Add the following to activate the command prompt as well as fix microsoft/terminal#6424
# The following may take >5 seconds to load:
Import-Module PSFzf
Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+t' -PSReadlineChordReverseHistory 'Ctrl+r'
# Starship
Invoke-Expression (&starship init powershell)
# Ctrl+D exits the terminal
Set-PSReadlineKeyHandler -Key ctrl+d -Function ViExit
# Requires Git for Windows
New-Alias -Name "tig" "C:\Program Files\Git\usr\bin\tig.exe"
# Visual Studio 2022 Command Prompt
. "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1"
- Use the selected nerdfont.
Other stuff I've configured: