Basically a consolidation of https://www.hanselman.com/blog/HowToMakeAPrettyPromptInWindowsTerminalWithPowerlineNerdFontsCascadiaCodeWSLAndOhmyposh.aspx
Set the execution policy:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Install Posh-Git and Oh-My-Git (assuming that Git for Windows is installed).
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
To load powerline, run notepad $PROFILE
, and add the lines to the end:
Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Paradox