Improve startup times for sigil generation.
This commit is contained in:
+1
-5
@@ -116,11 +116,7 @@ set referencechars_raw="${referencechars_raw} 2620"
|
|||||||
|
|
||||||
_debug "Building unicode sigils table...."
|
_debug "Building unicode sigils table...."
|
||||||
if( ! $?CSHENV_NO_UNICODE_PRINTF ) then
|
if( ! $?CSHENV_NO_UNICODE_PRINTF ) then
|
||||||
set referencechars_original=()
|
set referencechars_original=( `printf "${referencechars_raw:as/ / \\u/}"` )
|
||||||
foreach ch ($referencechars_raw)
|
|
||||||
set unicode=`printf "\\u${ch}"`
|
|
||||||
set referencechars_original=( $referencechars_original `printf "${unicode}"` )
|
|
||||||
end
|
|
||||||
else
|
else
|
||||||
# Safe fallback for when there's no unicode printf
|
# Safe fallback for when there's no unicode printf
|
||||||
set referencechars_original="A B C D X Y Z"
|
set referencechars_original="A B C D X Y Z"
|
||||||
|
|||||||
Reference in New Issue
Block a user