X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/6121c48e2dbce8b6a2a4d9a21d583b95b92ee8b0..79045f0874a5ecc87bc0cd03c9d7a09b4c1ae11d:/bash_profile diff --git a/bash_profile b/bash_profile index 3cae439..f3e1d76 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