From 05ded884658defde0fbc160a9d718f35f33bf845 Mon Sep 17 00:00:00 2001 From: Mattia Rigotti Date: Sat, 12 Oct 2019 11:52:53 +0200 Subject: [PATCH] Set SEXY_THEME_SHOW_PYTHON variable default value --- themes/sexy/sexy.theme.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/themes/sexy/sexy.theme.bash b/themes/sexy/sexy.theme.bash index fdbbf83d..41d195d2 100644 --- a/themes/sexy/sexy.theme.bash +++ b/themes/sexy/sexy.theme.bash @@ -6,6 +6,9 @@ # * To visualize python environment (virtualenv and conda) add in your .bash_profile the following line: # export SEXY_THEME_SHOW_PYTHON=true +# Default setting +SEXY_THEME_SHOW_PYTHON="${SEXY_THEME_SHOW_PYTHON:=false}" + if tput setaf 1 &> /dev/null; then if [[ $(tput colors) -ge 256 ]] 2>/dev/null; then MAGENTA=$(tput setaf 9)