From a50a4ff633bed3ac27bd761f3e86889750696549 Mon Sep 17 00:00:00 2001 From: Mattia Rigotti Date: Sat, 12 Oct 2019 11:50:54 +0200 Subject: [PATCH] Rename variable to SEXY_THEME_SHOW_PYTHON --- themes/sexy/sexy.theme.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/sexy/sexy.theme.bash b/themes/sexy/sexy.theme.bash index 4250c540..fdbbf83d 100644 --- a/themes/sexy/sexy.theme.bash +++ b/themes/sexy/sexy.theme.bash @@ -4,7 +4,7 @@ # # Configuration: # * To visualize python environment (virtualenv and conda) add in your .bash_profile the following line: -# export SEXY_WITH_PYTHON=true +# export SEXY_THEME_SHOW_PYTHON=true if tput setaf 1 &> /dev/null; then if [[ $(tput colors) -ge 256 ]] 2>/dev/null; then @@ -45,7 +45,7 @@ env_prompt () { function prompt_command() { PS1="\[${BOLD}${MAGENTA}\]\u \[$WHITE\]at \[$ORANGE\]\h \[$WHITE\]in \[$GREEN\]\w\[$WHITE\]\$([[ -n \$(git branch 2> /dev/null) ]] && echo \" on \")\[$PURPLE\]\$(parse_git_branch)\[$WHITE\]\n\$ \[$RESET\]" - if [ "$SEXY_WITH_PYTHON" = true ] ; then + if [ "$SEXY_THEME_SHOW_PYTHON" = true ] ; then PS1="\[${BOLD}${WHITE}\]$(env_prompt) "$PS1 fi }