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.

One thought on “The pair programmers prompt

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>