Add consistent end padding for all themes

This commit is contained in:
2026-01-24 12:58:33 +00:00
parent cb36ca7cb9
commit 24374eb9fa

View File

@@ -486,7 +486,7 @@ _ps1_set_prompt() {
local HOST_PART="${L_HOST}"
local PATH_PART="${__PS1_PATH}"
local PATH_SEP=" "
local END_PAD=" "
local END_PAD=" "
if [[ "$__PS1_STYLE_PACK" == "contest" || "$__PS1_STYLE_PACK" == "holiday" ]]; then
local layout="${__PS1_CONTEST_LAYOUT:-day-time-user}"
case "$layout" in
@@ -500,9 +500,6 @@ _ps1_set_prompt() {
PATH_SEP=""
PREFIX="\n"
fi
if [[ "$__PS1_PATH" == *"…"* ]]; then
END_PAD=" "
fi
case "$style" in
neon)