aboutsummaryrefslogtreecommitdiff
path: root/dot_config/sh/locale.tmpl
blob: 7d73fb394927781820580a0b93177ba37c32a59e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
if ! export LANG=$(locale -a | grep -E -i "{{ .locale_base }}\.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: