From 53740b4a2c91d4916334f938a24ddc7ad9e79a51 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Wed, 8 Jul 2026 00:29:05 -0400 Subject: [PATCH] Improve startup times for sigil generation. --- tcshrc.prompt.defs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tcshrc.prompt.defs b/tcshrc.prompt.defs index 1e06d3b..a2266bc 100644 --- a/tcshrc.prompt.defs +++ b/tcshrc.prompt.defs @@ -116,11 +116,7 @@ set referencechars_raw="${referencechars_raw} 2620" _debug "Building unicode sigils table...." if( ! $?CSHENV_NO_UNICODE_PRINTF ) then - set referencechars_original=() - foreach ch ($referencechars_raw) - set unicode=`printf "\\u${ch}"` - set referencechars_original=( $referencechars_original `printf "${unicode}"` ) - end + set referencechars_original=( `printf "${referencechars_raw:as/ / \\u/}"` ) else # Safe fallback for when there's no unicode printf set referencechars_original="A B C D X Y Z"