denji/oh-my-fish — pull request #8 by denji (2014-07-06 03:16:27+00:00)
Title: Add virtualenv support to the bobthefish theme.

If VIRTUAL_ENV envvar is set, then prefix the basename in blue to the start of the powerbar
Also set the VIRTUAL_ENV_DISABLE_PROMPT envvar to stop virtualenv from adding its own prefix

- Currently an issue when entering a virtualenv, because the fish script to enter a virtualenv returns non-zero exit status when VIRTUAL_ENV_DISABLE_PROMPT is set, but this is a minor issue that can be solved by virtualenv patch.
- Fix the spacing on the virtualenv powerbar element. Added a trailing space to even up the output
- Move virtualenv segment into its own function. Change background color to slate blue to match theme.