A bit of style cleanup.

This commit is contained in:
2025-03-07 23:12:50 -05:00
parent 997e208300
commit 67f4542811

View File

@ -150,6 +150,7 @@ endif
if( $?CSHENV_DEBUG ) echo "Dynamic color loading processed..."
if( ${prompt_hcolor} != 0 ) then
set last_color = ${reference_colors[${prompt_hcolor}]}
endif
@ -167,7 +168,6 @@ set medium_battery_level = 50
set strong_battery_level = 75
while( ${prompt_hcolor} == 0 )
if( $?CSHENV_DEBUG ) then
echo colorshuffle
@ -342,6 +342,7 @@ if( ! $?CSHENV_DISABLE_PROMPT_NESTING ) then
endif
endif
endif
if( ! $?CSHENV_DISABLE_PROMPT_USER ) then
set user_prompt_view="${user_color_seq}${user_prompt}%{${sgr_reset}%}"
if( ! $?CSHENV_DISABLE_PROMPT_HOST ) then
@ -355,6 +356,7 @@ if( ! $?CSHENV_DISABLE_PROMPT_HOST ) then
endif
set host_prompt_view="${host_color_seq}${host_prompt}%{${text_color_seq}%}${host_prompt_tail}"
endif
if( ! $?CSHENV_DISABLE_PROMPT_GIT ) then
set git_prompt_view="${git_prompt}"
endif