Probe the local printf for unicode

This commit is contained in:
2026-02-15 22:45:16 -05:00
parent cd0f9a7d4d
commit cb9a422792

View File

@@ -170,6 +170,15 @@ else
alias p echo "Password store not found!"
endif
# Pick up the coreutils printf, if it exists...
if( -f `which gprintf` ) then
alias printf gprintf
endif
if( ! { printf '\u0000' } ) >&/dev/null then
setenv CSHENV_NO_UNICODE_PRINTF
endif
safe_source ${CSHENV_DIR}/tcshrc.aliases.${CSHENV_SYSTEM}
safe_source ${CSHENV_DIR}/tcshrc.aliases.${CSHENV_HOSTNAME}
safe_source ${CSHENV_DIR}/tcshrc.aliases.user