jimeh / git-aware-prompt

Display current Git branch name in your terminal prompt when in a Git working directory.
Creative Commons Zero v1.0 Universal
2.16k stars 340 forks source link

added find_git_delta to parse git diff --shortstat in the form of (fi… #44

Open robbywashere-zz opened 8 years ago

robbywashere-zz commented 8 years ago

I added this simple function, it could probably be cleaned up a bit, but it works pretty good for me. Its a good reminder to commit often etc

It will give you something like the following ....

robby@00xFF(add_delta): 1 Δ +12:-1 ~/etc/git-aware-prompt