Load .config/locale.conf if it exists

This commit is contained in:
Anthony Rose 2021-02-05 18:43:10 +00:00
parent f863c469fb
commit 5a09a88af4

View file

@ -53,6 +53,9 @@ set -o noclobber
export LC_ALL=''
export TIME_STYLE="long-iso" # Used by GNU 'ls'.
## Set the default language.
if [ -r "$HOME/.config/locale.conf" ]; then
. "$HOME/.config/locale.conf"
fi
case "$LANG" in
"en_GB.UTF-8")
LANGUAGE="en_GB:en"