How to get the "Lambda" symbol in Cmder Powershell with posh-git AFTER the git info?

850 Views Asked by At

I installed cmder and I use it with Powershell and posh-git. posh-git puts the git info after the Lambda, and the cursor after the git info, without any spaces: my prompt

How do I change this to have the Lambda appear AFTER the git info? I already played witrh $PrePrompt and $PostPrompt in config\user_profile.ps1 but this only affects anything before the git info.

1

There are 1 best solutions below

3
Mathias R. Jessen On

Use the global $GitPromptSettings variable to set the prompt suffix in posh-git:

$GitPromptSettings.DefaultPromptSuffix = 'λ'