- Edit
~/.bash_profile
and overwrite the variable
export PS1="\[\e]0;\w\a\]\n> \[\e[32m\]\u \e\e[0m\]in \[\e[33m\]\w\[\e[0m\] » \[\e[36m\]\@\n\e[m\$ "
- Edit
virtualenv/Scripts/activate
PS1="(`basename \"$VIRTUAL_ENV\"`) $PS1"`
Replace above line with the following
PS1=$(echo $PS1 | sed 's/\\w\\a\\]\\n> /\\w\\a\\]\\n(`basename \"$VIRTUAL_ENV\"`) /g')
PS1+=" "