X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/blobdiff_plain/1a4d7e7dc6a51ad05ef719ed1b7b9db7897c050f..bc30f5c465d7c38c208e0eccf28b017f4d52206a:/bash_profile diff --git a/bash_profile b/bash_profile index 86e07b1..466efb9 100644 --- a/bash_profile +++ b/bash_profile @@ -121,7 +121,13 @@ umask 002 [ -z "$HOST" ] && export HOST=`hostname` -unset LANG LC_COLLATE +if [ "$DISPLAY" = "" ]; then + : ${LC_CTYPE=${LANG-${LC_ALL-`__mdw_conf console-ctype`}}} +else + LC_CTYPE=`__mdw_conf x-ctype` +fi +unset LANG LC_ALL LC_COLLATE +export LC_CTYPE __mdw_programp distcc && export CCACHE_PREFIX=distcc