Working with git a lot I decided I needed some git status in my
prompt.
I searched the web and some solutions where almost what I wanted and this one by Sebastian Celis came very close.
But it didn’t work with my version of zsh, because that didn’t seem to
understand the =~ operator.
I also think Sebastian makes things over complicated and so I changed some things aroud.
This is what I came up with: