From bc5bd6ebb8d64d2c3fba868cb6c85b5a4e531e71 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 24 Feb 2009 09:13:54 +0000 Subject: [PATCH] bash_profile: Set more locale things. In fact more or less everything other than LC_COLLATE and LC_ALL. LC_COLLATE is evil and must die. --- bash_profile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bash_profile b/bash_profile index 5b46a34..057f797 100644 --- a/bash_profile +++ b/bash_profile @@ -117,9 +117,14 @@ if [ "$DISPLAY" = "" ]; then else LC_CTYPE=`mdw-conf x-ctype` fi -unset LANG LC_ALL LC_COLLATE +unset LANG LC_ALL export LC_CTYPE +for lc in TIME NUMERIC MONETARY PAPER NAME ADDRESS TELEPHONE MEASUREMENT; do + eval "export LC_$lc=$LC_CTYPE" +done +export LC_COLLATE=POSIX + __mdw_programp distcc && export CCACHE_PREFIX=distcc export TEXINPUTS=".:$HOME/lib/tex//:" -- 2.11.0