Clean bobby

pull/1790/head
BarbUk 2021-01-16 09:12:59 +01:00
parent 8691894175
commit eadd2685df
No known key found for this signature in database
GPG Key ID: DB301C759539E9FE
2 changed files with 21 additions and 20 deletions

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
# shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}"
SCM_THEME_PROMPT_PREFIX=" |"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck shell=bash
SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}"
@ -14,10 +14,10 @@ RVM_THEME_PROMPT_PREFIX="|"
RVM_THEME_PROMPT_SUFFIX="|"
__bobby_clock() {
printf "$(clock_prompt) "
printf '%s' "$(clock_prompt) "
if [ "${THEME_SHOW_CLOCK_CHAR}" == "true" ]; then
printf "$(clock_char) "
printf '%s' "$(clock_char) "
fi
}