chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c66a7e4
)
bash_profile: Set more locale things.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 24 Feb 2009 09:13:54 +0000
(09:13 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 24 Feb 2009 09:13:54 +0000
(09:13 +0000)
In fact more or less everything other than LC_COLLATE and LC_ALL.
LC_COLLATE is evil and must die.
bash_profile
patch
|
blob
|
blame
|
history
diff --git
a/bash_profile
b/bash_profile
index 5b46a34d671eeb81fa023e0841fd6c97d9c0909f..057f797dc0d57af64865dc67e5b724ba633cd4d3 100644
(file)
--- 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//:"