Add support for Python VirtualEnv theme

Small change to handle virtualenv in theme
This commit is contained in:
Ronan Gaillard 2016-07-14 11:39:13 -04:00 committed by GitHub
commit 09baa31372

View file

@ -13,7 +13,7 @@ GIT_DIRTY_COLOR=$FG[133]
GIT_CLEAN_COLOR=$FG[118] GIT_CLEAN_COLOR=$FG[118]
GIT_PROMPT_INFO=$FG[012] GIT_PROMPT_INFO=$FG[012]
PROMPT='%{$PROMPT_SUCCESS_COLOR%}%~%{$reset_color%} %{$GIT_PROMPT_INFO%}$(git_prompt_info)%{$GIT_DIRTY_COLOR%}$(git_prompt_status) %{$reset_color%}%{$PROMPT_PROMPT%}ᐅ%{$reset_color%} ' PROMPT='%{$PROMPT_SUCCESS_COLOR%}%~%{$reset_color%} %{$GIT_PROMPT_INFO%}$(git_prompt_info) $(virtualenv_prompt_info)%{$GIT_DIRTY_COLOR%}$(git_prompt_status) %{$reset_color%}%{$PROMPT_PROMPT%}ᐅ%{$reset_color%}
#RPS1="${return_code}" #RPS1="${return_code}"