Can't start with powershell and scoop #2994
Replies: 3 comments 10 replies
-
@alex289 did you see this discussion? We changed the way "our" scoop installs oh-my-posh so you also have signed executables. However, the behaviour described here implies that your terminal (or shell) can't evaluate ANSI anymore as well which is a change in PowerShell 7.2. |
Beta Was this translation helpful? Give feedback.
-
I have the exact same problem but installed oh-my-posh using winget I get this error in PowerShell 7.x and Windows Powershell on Win11 |
Beta Was this translation helpful? Give feedback.
-
@alex289 @JuergenGutsch so, we figured it out. There's an old executable of oh-my-posh on your systems that's causing this behavior. So, while you've installed the new binary, on your PATH the old one takes precedence and that one outputs an ANSI string and not a PowerShell script. You should see two entries when using |
Beta Was this translation helpful? Give feedback.
-
Code of Conduct
What happened?
I am using scoop to install oh my posh and just update to the latest version. When I now open the terminal I get following:
I tried it without the theme and executing directly in an active window with same result
Theme
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output
(Image above because I couldn't add it here)
Beta Was this translation helpful? Give feedback.
All reactions