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 }