Notes for future self:
- Install powershell 7
- Install Oh My Posh
- Install Nerd Fonts (Caskaydia Cove): https://www.nerdfonts.com/font-downloads
- Download Repo to somewhere (C:\TFS\TerminalConfig is where I put it)
- Copy the Profile.ps1 file from the repo to $PSHOME\Profile.ps1
- Reboot (or restart the windows font cache service)
- Set windows terminal font to "CaskaydiaCove Nerd Font Mono"
- Set VS Code terminal font to "CaskaydiaCove Nerd Font Mono" (terminal.integrated.fontFamily)
NOTE: Monospaced font works best in the terminal, if you use a different font some of the icons get condensed together
NOTE 2: JanDeDobbeleer/oh-my-posh#4494 (comment), had to include "patch_pwsh_bleed" to work around a powershell bug
NOTE 3: [Console]::OutputEncoding = [Text.Encoding]::UTF8 is now required for Powershell 7.4.0: JanDeDobbeleer/oh-my-posh#4499