JanDeDobbeleer / oh-my-posh

The most customisable and low-latency cross platform/shell prompt renderer
https://ohmyposh.dev
MIT License
16.96k stars 2.37k forks source link

Config error #5557

Closed Nicocoww closed 1 month ago

Nicocoww commented 1 month ago

Code of Conduct

What happened?

I tried using the M365Princess theme Capture

This is the command I wrote in the profile file. oh-my-posh init pwsh --config 'https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/M365Princess.omp.json' | Invoke-Expression

Theme

I tried using the M365Princess theme Capture Tried few other themes, same.

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

There's no prompt the terminal is stuck in a loop until I delete the file to reset the profile settings with `New-Item -Path $PROFILE -Type File -Force` after
JanDeDobbeleer commented 1 month ago

@Nicocoww you need the raw GitHub link, not the HTML page of the theme.

Nicocoww commented 1 month ago

Hi, it was doing the same thing when I downloaded and used it locally

On Wed, Sep 4, 2024, 7:09 AM Jan De Dobbeleer @.***> wrote:

Closed #5557 https://github.com/JanDeDobbeleer/oh-my-posh/issues/5557 as completed.

— Reply to this email directly, view it on GitHub https://github.com/JanDeDobbeleer/oh-my-posh/issues/5557#event-14124259971, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKGRXEGTHBCZ4QZZ2GRTQZTZU2IX3AVCNFSM6AAAAABNTCCJUWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGEZDIMRVHE4TOMI . You are receiving this because you were mentioned.Message ID: @.***>

JanDeDobbeleer commented 1 month ago

@Nicocoww then you downloaded the HTML file.