Add consistent end padding for all themes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user