Before validating anything, make sure you're on the latest version of Oh my Posh and your terminal and shell are up-to-date.
You can use the
Write-PoshDebug function to see where Oh my posh spends its time.
In case there's no clear culprit (timings indicate everything's OK), chances are some modules are the culprit.
We bootstrap afew PowerShell modules to maximise compatibility, but sometimes these can introduce unwanted side-effects.
The modules we support are:
Especially the latter can slow things down so the first thing to do is disable that one:
Once added, reload your profile for the changes to take effect.
You can use the Oh my Posh's built-in
--debug flag to identify slow segments.
Whenever there's a segment that spikes, see if there might be updates to the underlying functionality (usally shell commands).
If nothing seems to resolve the issue, feel free to create an issue.
The font you're using doesn't have the needed standard extended glyph set like Nerd Font does.
Windows Terminal ships with Cascadia Code by default which has a powerline patched variant called Cascadia Code PL,
but also that one misses certain interesting icons. You can fall back to any theme with the
or make use of a Nerd Font. Have a look at the font senction for more context in case you're using all the right conditions.
They need to work on their terminal, somehow it only supports UTF-8 and not UTF-16. An issue is available for follow-up here.
You need to migrate V2 to V3 using the following guide. The quick fix is to replace
but it's advised to read the guide.