Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's a __git_ps1 function that's included with the git bash completion script (edit: it works with zsh, too -- the __git_ps1 function and the completion).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: