Commit b0f8683f authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #1223 from bigjust/master

Basic Virtualenv plugin
parents de1f803d 0b2da8f1
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment