Fix prompt layout slightly.

This commit is contained in:
ADAM David Alan Martin
2022-06-16 17:20:41 -04:00
parent 34e8da4e82
commit 26fce0ca4b

View File

@ -259,9 +259,9 @@ if( 0 == ${__res} ) then
# If the font doesn't support the special branch symbol...
set branch_symbol=`printf "\uE0A0"`
# I could always fallback to this one... (keep padded spaces... for alignment)
set branch_symbol=`printf '\u2387\ \ \ '`
set branch_symbol=`printf '\u2387\ \ '`
set git_prompt="%{${sgr_reset}%}(${branch_symbol} %{${branch_color_seq}%}${git_branch}%{${sgr_reset}%}) "
set git_prompt="%{${sgr_reset}%}(${branch_symbol} %{${branch_color_seq}%}${git_branch}%{${sgr_reset}%}) "
#set git_prompt="%{${csi}10D${csi}2D(xyz${git_branch})${csi}m%%}"
#set git_prompt="%{${csi}0;35m${csi}50D${git_branch} %}"
endif