by PeterWhittaker · 4y ago · 0 comments
Very handy! (The check also makes sure I am in the repo part of the repo, and not, say, in its .git folder or other non-working folders.)
Check out starship[1] if you haven't already. It's a prompt that does just this and more, and works across shells like Bash, fish, zsh, etc.
I don't feel at home at a terminal without it by now, so one of my first installs after brew ;-)
I wasn’t sure about multi line at first, but really digging it now.