Fix substitution on older TCSH.
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ foreach color ( ${cshenv_ls_colors} )
|
|||||||
#_debug "Split: ${split}"
|
#_debug "Split: ${split}"
|
||||||
#_debug "First: ${split[1]}"
|
#_debug "First: ${split[1]}"
|
||||||
_debug "Match: ${match}"
|
_debug "Match: ${match}"
|
||||||
_debug "Match: ${match:as/./*./}"
|
_debug "Match: ${match:as/./*----------/:as/----------/./}"
|
||||||
_debug "Args: ${args}"
|
_debug "Args: ${args}"
|
||||||
_debug "${args:as/,/ /}"
|
_debug "${args:as/,/ /}"
|
||||||
if ( $?CSHENV_DEBUG ) then
|
if ( $?CSHENV_DEBUG ) then
|
||||||
|
|||||||
+2
-2
@@ -145,8 +145,8 @@ 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
|
||||||
_debug "${referencechars_raw:as/ / 0000/:as/ 00001/ 0001/:as/ / \U/}"
|
_debug "${referencechars_raw:as/ /_\U0000/:as/_/ /:as/ 00001/ 0001/}"
|
||||||
set referencechars_original=( `printf "${referencechars_raw:as/ / 0000/:as/ 00001/ 0001/:as/ / \\U/}"` )
|
set referencechars_original=( `printf "${referencechars_raw:as/ /_\U0000/:as/_/ /:as/ 00001/ 0001/}"` )
|
||||||
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