Merge pull request #1103 from dsem/fix-brainy-virtualenv-box

Reset VIRTUALENV vars in brainy theme
pull/1117/head
Nils Winkler 2017-12-15 08:21:21 +01:00 committed by GitHub
commit d318c6536f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -165,7 +165,7 @@ ___brainy_prompt_battery() {
fi fi
box="[|]" box="[|]"
ac_adapter_connected && charging="+" ac_adapter_connected && charging="+"
ac_adapter_disconnected && charging="-" ac_adapter_disconnected && charging="-"
info+=$charging info+=$charging
[ "$info" == "100+" ] && info="AC" [ "$info" == "100+" ] && info="AC"
printf "%s|%s|%s|%s" "${color}" "${info}" "${bold_white}" "${box}" printf "%s|%s|%s|%s" "${color}" "${info}" "${bold_white}" "${box}"
@ -253,6 +253,8 @@ export RBFU_THEME_PROMPT_PREFIX=""
export RBFU_THEME_PROMPT_SUFFIX="" export RBFU_THEME_PROMPT_SUFFIX=""
export RVM_THEME_PROMPT_PREFIX="" export RVM_THEME_PROMPT_PREFIX=""
export RVM_THEME_PROMPT_SUFFIX="" export RVM_THEME_PROMPT_SUFFIX=""
export VIRTUALENV_THEME_PROMPT_PREFIX=""
export VIRTUALENV_THEME_PROMPT_SUFFIX=""
export SCM_THEME_PROMPT_DIRTY=" ${bold_red}${normal}" export SCM_THEME_PROMPT_DIRTY=" ${bold_red}${normal}"
export SCM_THEME_PROMPT_CLEAN=" ${bold_green}${normal}" export SCM_THEME_PROMPT_CLEAN=" ${bold_green}${normal}"