c9s/phpbrew — pull request #7 by yftzeng (2012-03-09 05:59:13+00:00)
Title: Feature: add php version information in prompt

## For example

Original prompt:

ant@someone $

After phpbrew switching:

ant@someone $ phpbrew use php-5.4.0
(PHP 5.4.0)ant@someone $

When off, it will back to original prompt:

(PHP 5.4.0)ant@someone $ phpbrew off
ant@someone $

## Enable and disable feature

There is a variable named "PHPBREW_SET_PROMTP" in $HOME/.phpbrew/bashrc.

If "PHPBREW_SET_PROMTP=1", that means "ENABLE", otherwise means
"DISABLE". Default is "PHPBREW_SET_PROMTP=1" (ENABLE).