profile.d: Add whitespace padding to the PS1

Add an extra space after the ⬢ so things are less smooshed together.

https://github.com/containers/toolbox/pull/1542
This commit is contained in:
Jordan Petridis 2024-09-15 14:25:17 +03:00 committed by Debarshi Ray
parent d7bafb82ed
commit 1d6b0b9136
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ fi
if [ -f /run/.containerenv ] \
&& [ -f /run/.toolboxenv ]; then
[ "${BASH_VERSION:-}" != "" ] && PS1=$(printf "\[\033[35m\]⬢\[\033[0m\]%s" "[\u@\h \W]\\$ ")
[ "${ZSH_VERSION:-}" != "" ] && PS1=$(printf "\033[35m⬢\033[0m%s" "[%n@%m]%~%# ")
[ "${BASH_VERSION:-}" != "" ] && PS1=$(printf "\[\033[35m\]⬢ \[\033[0m\]%s" "[\u@\h \W]\\$ ")
[ "${ZSH_VERSION:-}" != "" ] && PS1=$(printf "\033[35m⬢ \033[0m%s" "[%n@%m]%~%# ")
if ! [ -f "$toolbox_welcome_stub" ]; then
echo ""