diff options
author | Ryan Kavanagh <rak@rak.ac> | 2023-12-20 11:03:47 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2023-12-20 11:03:47 -0500 |
commit | f5b3c563bdbe24796c645ed2845c857b7e9f77ac (patch) | |
tree | 0b1a516e0ee93e0339cd0034eb6374b64b5b1320 /dot_config/sh/locale | |
parent | Only install ~/afs on Linux (diff) | |
parent | Split out some common shell config options (diff) |
Merge remote-tracking branch 'rak-https/master'
Diffstat (limited to 'dot_config/sh/locale')
-rw-r--r-- | dot_config/sh/locale | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dot_config/sh/locale b/dot_config/sh/locale new file mode 100644 index 0000000..f9dda6c --- /dev/null +++ b/dot_config/sh/locale @@ -0,0 +1,10 @@ +if ! export LANG=$(locale -a | grep -E -i "en_CA.UTF-?8"); then + if ! export LANG=$(locale -a | grep -E -i "C.UTF-?8"); then + export LANG=C + fi +fi + +export LC_TIME="en_GB.UTF-8" +export LC_COLLATE=C # force strict lexicographic sorting + +# vim: set ft=sh: |