jimmynotjim/bash-it — pull request #1 by circa1977 (2013-11-26 15:57:26+00:00)
Title: Include virtualenv on prompt

Based on this guy's example (https://gist.github.com/meirish/2759634), I added the virtualenv to the command prompt. The function is supported in base.theme.bash. I tried overriding the PREFIX and SUFFIX variables to use () instead of || but that didn't work so I quickly replicated the function. I'm sure there's a better way to do that.