-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oh-my-posh not working on PWSH 7.4.4 #5348
Comments
@wrecklass what does |
PS> write-host $Error |
So, with that hint, I removed the Azure portion of my config script for OMP. Turns out that fixes the issue. Although it just seems like a work around. |
|
Yes, it now enables by itself when you set |
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. |
Code of Conduct
What happened?
oh-my-posh prompt is no longer displayed on Powershell 7.4.4. I believe it was still working on 7.4.3, but it's possible the problem is older than 7.4.2.
Here is the PowerShell startup screen:
PowerShell 7.4.4
✅ no new version available
Loading personal and system profiles took 1939ms.
PS> dir $env:POSH_THEME
Mode LastWriteTime Length Name
-a--- 7/7/2024 2:13 PM 16611 config.omp.json
PS>
What do you expect?
I expect to see the formatted oh-my-posh prompt instead of 'PS> ' prompt. Which I believe is just the PowerShell default Prompt.
I can test and see the correct prompt with the command:
PS> oh-my-posh.exe prompt print primary
╭─ ENTERPRISE 0ms⠀ pwsh 21% 14:37:42
╰─
Theme
Any theme does not work.
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output
The text was updated successfully, but these errors were encountered: