From 08fba38c436d0943c499cb4ce65475b24920c964 Mon Sep 17 00:00:00 2001 From: MunifTanjim Date: Mon, 17 Oct 2016 16:01:21 +0600 Subject: [PATCH] fix backward compatibility --- themes/base.theme.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/base.theme.bash b/themes/base.theme.bash index 509893e5..b3c81593 100644 --- a/themes/base.theme.bash +++ b/themes/base.theme.bash @@ -18,7 +18,7 @@ SCM_THEME_CURRENT_USER_SUFFIX='' CLOCK_CHAR='⌚' THEME_CLOCK_CHAR_COLOR=${THEME_CLOCK_CHAR_COLOR:="${red}"} -THEME_SHOW_CLOCK=${THEME_CLOCK_CHECK:-true} +[ -z $THEME_SHOW_CLOCK ] && THEME_SHOW_CLOCK=${THEME_CLOCK_CHECK:-true} THEME_CLOCK_FORMAT=${THEME_CLOCK_FORMAT:="%Y-%m-%d %H:%M:%S"} THEME_CLOCK_COLOR=${THEME_CLOCK_COLOR:="${bold_cyan}"}