Hacker News new | ask | show | jobs
by purerandomness 3241 days ago
I used https://github.com/magicmonty/bash-git-prompt for a long time - it's a bunch of bash scripts that show git info for directories that are git repositories.

I've since switched to the fish shell (https://fishshell.com/) which has this built in.

It doesn't matter which shell you use, all the common ones have some kind of plugins or extensions for that.