From 794f0e321e53f4658e9532ea7e2c801fbda5761c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Felipe=20S=C3=A1nchez?= Date: Thu, 26 Nov 2020 09:11:08 -0500 Subject: [PATCH] Update atomic.theme.bash fixed the space error after hiding the scm --- themes/atomic/atomic.theme.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/atomic/atomic.theme.bash b/themes/atomic/atomic.theme.bash index 5035d49f..129bcbb6 100644 --- a/themes/atomic/atomic.theme.bash +++ b/themes/atomic/atomic.theme.bash @@ -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}" }