Add debugging print.
This commit is contained in:
@ -2,6 +2,10 @@
|
|||||||
### Final Prompt Setting ###
|
### Final Prompt Setting ###
|
||||||
############################
|
############################
|
||||||
|
|
||||||
|
if( $?CSHENV_DEBUG ) then
|
||||||
|
echo "Setting up dynamic colour loading..."
|
||||||
|
endif
|
||||||
|
|
||||||
# Recompute cached sgr codes from any configuration updates
|
# Recompute cached sgr codes from any configuration updates
|
||||||
if( ! $?curr_path_color ) then
|
if( ! $?curr_path_color ) then
|
||||||
set curr_path_color=impossible
|
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%}"
|
set prompt_color_seq="%{[`__build_sgr_code no-csi reset ${curr_prompt_color}`m%}"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if( $?CSHENV_DEBUG ) echo "Dynamic color loading processed..."
|
||||||
|
|
||||||
|
|
||||||
if( ${prompt_hcolor} != 0 ) then
|
if( ${prompt_hcolor} != 0 ) then
|
||||||
set last_color = ${reference_colors[${prompt_hcolor}]}
|
set last_color = ${reference_colors[${prompt_hcolor}]}
|
||||||
|
|||||||
Reference in New Issue
Block a user