CONTRIBUTING guideAfter installing v.3.23, the custom theme that I created that uses an envvar segment for the prompt does not display correctly after the module is imported. Subsequently, the prompt is written correctly.
I am guessing this is because the prompt is written before the initial call to Set-PoshContext now?
See screenshot below:

Set-PSReadLineOption -HistorySaveStyle SaveIncrementally
Import-Module 'posh-git', 'oh-my-posh' -Force
function Set-EnvVar {
$env:POSH=$(if ((Get-PSReadLineOption).HistorySaveStyle -ne 'SaveNothing'){[char]::ConvertFromUtf32(0x1f4be)} else {''})
}
if (Get-Alias 'Set-PoshContext' -ErrorAction Ignore) {
Remove-Alias 'Set-PoshContext'
}
New-Alias -Name 'Set-PoshContext' -Value 'Set-EnvVar' -Scope Global
Set-PoshPrompt -Theme "$PSScriptRoot\Themes\cool.json"
Expected behavior:
I expected to see a segment at the end with 馃捑 in the prompt after running the code (copied from my profile.ps1).
Actual behavior:
There is no segment at the end with 馃捑 in it. Subsequently, the prompt is written correctly, i.e. a segment at the end with 馃捑 .
Works great now. Thanks, @JanDeDobbeleer ! This version is even more awesome than the original version 馃憤
You have no idea how much I appreciate feedback like that. I spent countless hours with that goal in mind, so to hear that from someone else than myself is amazing 馃檹馃徎
I realize from personal experience, how difficult it is to find time to work on OSS projects and to stay motivated when there are 10 million other things competing for your attention. I would love to contribute to this project but I don't know Go. I was thinking of adding a page to docs listing compatible fonts for builtin themes and and updating README.md to reflect this.
Also, do you think it would be worthwhile to create a separate repo for themes and allow people to contribute their themes there via PRs? This way the engine or PS module doesn't need to be released if there is a change to theme(s).
That could work, however, in all honesty, given that everything is automated, adding themes and creating a release is perfectly possible. Doesn't hurt 馃檪