Blog post -

The pair programmers prompt

At Mynewsdesk we love pair programming and do it all the time. To avoid manually changing our git configurations we use tools like hitch and git-pair. But I have found that we are forgetful and sometimes leave our pair configuration untouched when we stop pairing. To stop us from committing bugs in other people's names we thought it was a good idea to display the pair info in the prompt along with the current git branch.

Just add this snippet to your .bash_profile :

gist