chiark
/
gitweb
/
~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use UTF8 on X, and guess at console.
[profile]
/
bash_profile
diff --git
a/bash_profile
b/bash_profile
index 86e07b1c38f826e324f88e2b4971032e2daf4858..466efb9deee484b2e0ef2f34529d9479d66de475 100644
(file)
--- a/
bash_profile
+++ b/
bash_profile
@@
-121,7
+121,13
@@
umask 002
[ -z "$HOST" ] && export HOST=`hostname`
[ -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
__mdw_programp distcc && export CCACHE_PREFIX=distcc