Code of Conduct
What happened?
Oh My Posh suddenly stopped working on Powershell in the Windows Terminal App (and in other places). Here is how the powershell looks now

Theme
I use the blue-owl theme normally which isn't working. I tried other themes and none of them are working. I set the theme using this line in my $profile
oh-my-posh --init --shell pwsh --config "~/AppData/Local/Programs/oh-my-posh/themes/blue-owl.omp.json" | Invoke-Expression
Write-PoshDebug (PowerShell) is just returning
Loading personal and system profiles took 803ms.
and nothing else.
I'm posting the result of Write-PoshDebug below
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output
Version: 7.18.0
Segments:
ConsoleTitle(false) - 0 ms -
session(true) - 0 ms - pansr@Sravan-Spectre
path(true) - 0 ms - pansr
shell(true) - 0 ms - pwsh
text(true) - 0 ms - no config
exit(true) - 1 ms -
Run duration: 2.2573ms
Cache path: C:\Users\pansr\AppData\Local/oh-my-posh
Logs:
2022/02/17 18:56:33 Args duration: 0s, args:
2022/02/17 18:56:33 Args duration: 0s, args:
2022/02/17 18:56:33 Args duration: 0s, args:
2022/02/17 18:56:33 Shell duration: 15.139ms, args:
2022/02/17 18:56:33 debug: Getenv
2022/02/17 18:56:33 Getenv duration: 0s, args: OMP_CACHE_DISABLED
2022/02/17 18:56:33 debug: Pwd
C:\Users\pansr
2022/02/17 18:56:33 Pwd duration: 0s, args:
2022/02/17 18:56:33 debug: Home
C:\SPB_Data
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 debug: Pwd
C:\Users\pansr
2022/02/17 18:56:33 Pwd duration: 0s, args:
2022/02/17 18:56:33 debug: Home
C:\SPB_Data
2022/02/17 18:56:33 debug: Getenv
2022/02/17 18:56:33 Getenv duration: 0s, args: SSH_CONNECTION
2022/02/17 18:56:33 debug: Getenv
2022/02/17 18:56:33 Getenv duration: 0s, args: SSH_CLIENT
2022/02/17 18:56:33 Root duration: 0s, args:
2022/02/17 18:56:33 Shell duration: 0s, args:
2022/02/17 18:56:33 ErrorCode duration: 0s, args:
2022/02/17 18:56:33 IsWsl duration: 0s, args:
2022/02/17 18:56:33 debug: Pwd
C:\Users\pansr
2022/02/17 18:56:33 Pwd duration: 0s, args:
2022/02/17 18:56:33 debug: Home
C:\SPB_Data
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 User duration: 0s, args:
2022/02/17 18:56:33 Host duration: 0s, args:
2022/02/17 18:56:33 GOOS duration: 0s, args:
2022/02/17 18:56:33 TemplateCache duration: 0s, args:
2022/02/17 18:56:33 debug: Pwd
C:\Users\pansr
2022/02/17 18:56:33 Pwd duration: 0s, args:
2022/02/17 18:56:33 debug: Home
C:\SPB_Data
2022/02/17 18:56:33 debug: Pwd
C:\Users\pansr
2022/02/17 18:56:33 Pwd duration: 0s, args:
2022/02/17 18:56:33 Args duration: 0s, args:
2022/02/17 18:56:33 debug: Home
C:\SPB_Data
2022/02/17 18:56:33 GOOS duration: 0s, args:
2022/02/17 18:56:33 GOOS duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 PathSeperator duration: 0s, args:
2022/02/17 18:56:33 GOOS duration: 0s, args:
2022/02/17 18:56:33 IsWsl duration: 0s, args:
2022/02/17 18:56:33 StackCount duration: 0s, args:
2022/02/17 18:56:33 TemplateCache duration: 0s, args:
2022/02/17 18:56:33 debug: Pwd
C:\Users\pansr
2022/02/17 18:56:33 Pwd duration: 0s, args:
2022/02/17 18:56:33 debug: Home
C:\SPB_Data
2022/02/17 18:56:33 Shell duration: 0s, args:
2022/02/17 18:56:33 TemplateCache duration: 0s, args:
2022/02/17 18:56:33 debug: Pwd
C:\Users\pansr
2022/02/17 18:56:33 Pwd duration: 0s, args:
2022/02/17 18:56:33 debug: Home
C:\SPB_Data
2022/02/17 18:56:33 TemplateCache duration: 0s, args:
2022/02/17 18:56:33 debug: Pwd
C:\Users\pansr
2022/02/17 18:56:33 Pwd duration: 0s, args:
2022/02/17 18:56:33 debug: Home
C:\SPB_Data
2022/02/17 18:56:33 ErrorCode duration: 0s, args:
2022/02/17 18:56:33 TemplateCache duration: 0s, args:
2022/02/17 18:56:33 TemplateCache duration: 0s, args:
2022/02/17 18:56:33 TemplateCache duration: 0s, args:
2022/02/17 18:56:33 debug: Getenv
C:\Users\pansr\AppData\Local
2022/02/17 18:56:33 Getenv duration: 0s, args: LOCALAPPDATA
2022/02/17 18:56:33 CachePath duration: 0s, args:
Code of Conduct
What happened?
Oh My Posh suddenly stopped working on Powershell in the Windows Terminal App (and in other places). Here is how the powershell looks now

Theme
I use the
blue-owltheme normally which isn't working. I tried other themes and none of them are working. I set the theme using this line in my$profileoh-my-posh --init --shell pwsh --config "~/AppData/Local/Programs/oh-my-posh/themes/blue-owl.omp.json" | Invoke-ExpressionWrite-PoshDebug (PowerShell)is just returningLoading personal and system profiles took 803ms.and nothing else.
I'm posting the result of
Write-PoshDebugbelowWhat OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output