Adding Git Status Information to the ZSH Prompt - Tarneo's blog
I just thought this tutorial could genuinely be useful to some fellow ricers.
It explains not only the git status part of making a pure zsh prompt that looks like this:
https://lemmy.ml/pictrs/image/f06d4646-d593-4ddc-a89a-edd58efbf0a6.png