Re:A heads up display for git
by devrelm on Wednesday August 26, 2015 @07:59AM
(#10122309)
Is that configurable? That is to say, can I change what's printed to the prompt to add more info like # of files added/removed/modified? I looked into it a little bit it looked hard-coded.
[ Parent
| on HN ]
yeah it's pretty configurable, the syntax to do so is rather ugly though. I'm using it like this: https://gist.github.com/lorenzhs/c8b442ce831f0211f3d8 which shows me whether I have staged and unstaged changes, the current branch and commit, rebase/... status, etc.
I don't remember from where I got this config, it's a mix of things I found online.