Closed Ifiht closed 2 years ago
@Ifiht we needed to migrate the configurations (1 time) to have support for templates without people needing to do a manual fix. In this case one element wasn't migrated correctly. In the session segment, change .ComputerName
to .HostName
.
@JanDeDobbeleer got it - confirmed the fix. Thanks for the help, couldn't find that info anywhere!
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?
I've narrowed it down to the oh-my-posh init command. After running the following:
oh-my-posh --init --shell pwsh --config ~/stelbent.minimal-mod.omp.json | Invoke-Expression
My originalstelbent.minimal-mod.omp.json
is moved tostelbent.minimal-mod.omp.json.bak
, a newstelbent.minimal-mod.omp.json
is created with different contents, and my prompt changes to the below:What's going wrong here? I've used oh-my-posh on other systems before, without this behavior.
Theme
stelbent.minimal-mod.omp.json (replaced)
stelbent.minimal-mod.omp.json.bak (original)
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output