Commit cbd63f22 authored by Andy Fleming's avatar Andy Fleming
Browse files

Fix for virtualenv support - fixes #2328, fixes #2297, resolves #2319

parent 357ab491
......@@ -27,7 +27,12 @@ eval my_gray='$FG[237]'
eval my_orange='$FG[214]'
# right prompt
PROMPT='$(virtualenv_prompt_info)$my_gray%n@%m%{$reset_color%}%'
if type "virtualenv_prompt" > /dev/null
then
RPROMPT='$(virtualenv_prompt_info)$my_gray%n@%m%{$reset_color%}%'
else
RPROMPT='$my_gray%n@%m%{$reset_color%}%'
fi
# git settings
ZSH_THEME_GIT_PROMPT_PREFIX="$FG[075](branch:"
......
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