After a fresh installation of the new OS Windows 11 I had to re-setup oh-my-posh for Windows terminal. There are already a lot of descriptions out there ‒ one of the best from Scott Hanselman ‒ so this should only be a little reminder for me and not an extensive description.
Please note: this description of for version 3 of o-my-posh!