From: Mark Wooding Date: Tue, 24 Feb 2009 09:13:54 +0000 (+0000) Subject: bash_profile: Set more locale things. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/bc5bd6ebb8d64d2c3fba868cb6c85b5a4e531e71 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. --- 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//:"