diff --git a/tcshrc.aliases b/tcshrc.aliases index 517909a..e0702fe 100644 --- a/tcshrc.aliases +++ b/tcshrc.aliases @@ -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