Add debugging print.

This commit is contained in:
2022-06-05 14:58:59 -04:00
parent a9485b4b3b
commit 78a3b59499

View File

@ -2,6 +2,10 @@
### Final Prompt Setting ###
############################
if( $?CSHENV_DEBUG ) then
echo "Setting up dynamic colour loading..."
endif
# Recompute cached sgr codes from any configuration updates
if( ! $?curr_path_color ) then
set curr_path_color=impossible
@ -69,6 +73,8 @@ if( "${curr_prompt_color}" != "${prompt_color}" ) then
set prompt_color_seq="%{[`__build_sgr_code no-csi reset ${curr_prompt_color}`m%}"
endif
if( $?CSHENV_DEBUG ) echo "Dynamic color loading processed..."
if( ${prompt_hcolor} != 0 ) then
set last_color = ${reference_colors[${prompt_hcolor}]}