Update atomic.theme.bash

fixed the space error after hiding the scm
pull/1715/head
Luis Felipe Sánchez 2020-11-26 09:11:08 -05:00 committed by GitHub
parent 63ad4897ef
commit 794f0e321e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ ___atomic_prompt_user_info() {
___atomic_prompt_dir() {
color=${IRed}
box="[|]${normal}${Line}"
box="[|]${normal}"
info="\w"
printf "%s|%s|%s|%s" "${color}" "${info}" "${bold_white}" "${box}"
}
@ -125,7 +125,7 @@ ___atomic_prompt_dir() {
___atomic_prompt_scm() {
[ "${THEME_SHOW_SCM}" != "true" ] && return
color=$bold_green
box="[${IWhite}$(scm_char)] "
box="${Line}[${IWhite}$(scm_char)] "
info="$(scm_prompt_info)"
printf "%s|%s|%s|%s" "${color}" "${info}" "${bold_white}" "${box}"
}