You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
function virtualenv_prompt_info(){ |
|
local virtualenv_path="$VIRTUAL_ENV" |
|
if [[ -n $virtualenv_path ]]; then |
|
local virtualenv_name=`basename $virtualenv_path` |
|
printf "%s[%s] " "%{${fg[yellow]}%}" $virtualenv_name |
|
fi |
|
} |
|
|
|
export VIRTUAL_ENV_DISABLE_PROMPT=1
|
|
|