Here are my raw notes to get Oh-My-Posh working with Terminal and Powershell.
Set-ExecutionPolicy RemoteSignedwinget install Microsoft.WindowsTerminalwinget install oh-my-poshInstall-Module posh-git -Scope CurrentUserInstall-Module -Name Terminal-Icons -Repository PSGallery- Install Nerd Fonts
Test-Path $ProfileNew-Item -Path $Profile -Type File -ForceNotepad $Profile- Add
Import-Module -Name Terminal-Icons oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\paradox.omp.json" | Invoke-Expression
- Add
- Terminal->Settings->Defaults->Appearance set to
CaskaydiaCove Nerd Font - Open new powershell window.
If when doing a dir or gci and seeing boxes for the Terminal-Icons you may need to unstall Terminal or update the nerd fonts. —-
See How to Set up the Windows terminal with Powershell and Oh My Posh - DEV Community for a more graphical rep.
Note if a gci or dir