Bash: extract virtualenv prompt to separate component.