3 ms·
I used https://github.com/magicmonty/bash-git-prompt https://github.com/magicmonty/bash-git-prompt for a long time - it's a bunch of bash scripts that show git
by purerandomness 9y ago
I used https://github.com/magicmonty/bash-git-prompt 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/ 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.