I have oh-my-posh and posh-git installed and added to my Powershell profile, which looks like this
Import-Module posh-git
Import-Module oh-my-posh
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\thecyberden.omp.json" | Invoke-Expression
I'm using the CaskaydiaCove NF font in Powershell, which I also set as the font for the Package Manager Console.
My Windows Terminal prompt is correct:
However, the Package Manager Console in Visual Studio is weird, like it's not able to find the correct glyphs:
Is there a way to fix my Package Manager Console prompt so that either it displays correctly like Powershell, or so that it ignores the Powershell profile and just uses its default prompt?
CodePudding user response:
This is because that shell doesn't support ANSI. Have a look at the PowerShell settings in case this is 7, otherwise there's no fix for it.