I had heard about Oh my Posh several years ago.
It was in the context of Oh my Zsh Oh My Posh was its Powershell cousin.
Since (AFAIK) Powershell is on Windows, and I haven’t used Windows in so many years, I had no use of it.
Then few days ago, I came across XeroLinux
The shell prompt looked very nice. I had assumed it must be starship which was my prompt engine till that point. But looking at XeroLinux’s github, I could not find starship.toml but I found Oh my Posh config instead.
Could my eyes be deceiving me? ๐
So I searched, and it turns out it is (now?) shell agnostic Prompt engine.
The site has install instructions for macOS as well as Linux (and Windows of course ๐)
It supports a lot of different shells, including zsh. They also have good documentation about how to integrate it with different shells. I used the one for zsh
Currently, I’m using XeroLinux’s config almost as-is. That is what I wanted anyway ๐
I wish I could post screenshots of my terminal, but it does not need to be my terminal. Since I use the same config as XeroLinux, and since Oh-my-Posh is OS and shell agnostic, why not check XeroLinux screenshot directly ?
Check the beautiful prompt near the bottom of the terminal window. ๐