git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51df94c
)
Detect en_GB.utf8 locale.
author
Iain Patterson
<me@iain.cx>
Wed, 1 Jul 2009 15:21:25 +0000
(16:21 +0100)
committer
Iain Patterson
<me@iain.cx>
Mon, 6 Jul 2009 14:42:40 +0000
(15:42 +0100)
.profile.d/locale.bashrc
patch
|
blob
|
history
diff --git
a/.profile.d/locale.bashrc
b/.profile.d/locale.bashrc
index
d7eeb53
..
50250dd
100644
(file)
--- a/
.profile.d/locale.bashrc
+++ b/
.profile.d/locale.bashrc
@@
-1,6
+1,6
@@
unset LANG LC_ALL
-for locale in en_GB.UTF-8 en_GB; do
+for locale in en_GB.
utf8 en_GB.
UTF-8 en_GB; do
if locale -a 2>/dev/null | grep "^$locale\$" >/dev/null; then
export LC_CTYPE=$locale
break