Closed ehawman-rosenberg closed 2 years ago
Ah I just read the logs and cleared the cache. I'm now defaulting to the JanDeDobbeleer one.
So presumably I've borked the formatting somewhere and it's failing to cache/default.
However that doesn't explain why I'm able to git clone the new one and initiate it just fine.
@ehawman-rosenberg did you restart the shell? As it only downloads it on init (a shell start). I'll validate this evening.
Ok I've solved it (or rather, I understand the first part of what's going wrong).
If there is no 7.74.0.omp.json in %APPDATA%\Local\oh-my-posh, then a remote config will set it. Otherwise, remote configs are given the boot (local configs appear to be fine).
@JanDeDobbeleer Restarted each time, including relaunching WT entirely.
@ehawman-rosenberg a bug indeed. Fix incoming.
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. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
So I updated my remote config file and OMP refuses to get the memo. In fact, it refuses to let go of my old config for any remote config.
Old URL: https://gist.githubusercontent.com/ehawman-rosenberg/50b3b695526f03690cfd396d02c2cca3/raw/c2e0bc78cdf551b0cc76f593e4fd70428f981c0e/eh-tea.omp.json
New URL: https://gist.githubusercontent.com/ehawman-rosenberg/0b3b24ede3f081979634b7fa6d2fd91e/raw/1f735b63477c7002a6920f748e00d4342c1df2e9/dracula-diamonds.omp.json
Note that I changed the filenames here, if that's relevant.
In my PWSH $PROFILE with the new URL:
Result: (My old prompt, with "Thursday" written all the way out)
Now, I change out my oh-my-posh calling block for the following:
Note that this is the exact same gist, but it first clones it locally and points to the local file.
Result: The new one!
Going back to the original remote config block, let's put the default JanDeDobbeleer config in, shall we?
Result: Wat.
Please help me exorcise this thematic ghost!
Theme
https://gist.githubusercontent.com/ehawman-rosenberg/0b3b24ede3f081979634b7fa6d2fd91e/raw/1db88b7fad8f8b4348f6d7030914f4396c47b558/dracula-diamonds.omp.json
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output