Hacker News new | ask | show | jobs
by TsiCClawOfLight 3944 days ago
I find the ZSH git extension to work very well.
1 comments

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.
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.

Interesting, thanks!