Use US English by default

This commit is contained in:
Anthony Rose 2023-01-15 15:09:42 +00:00
parent 440cfe6233
commit 20acd94be5

View file

@ -41,7 +41,7 @@ fi
export TZ=Europe/London # Can override this elsewhere if needed. export TZ=Europe/London # Can override this elsewhere if needed.
if ! [ -f "$XDG_CONFIG_HOME/locale.conf" ] && [ -x /usr/bin/locale ] if ! [ -f "$XDG_CONFIG_HOME/locale.conf" ] && [ -x /usr/bin/locale ]
then then
LANG="en_GB.UTF-8" /usr/bin/locale > "$XDG_CONFIG_HOME/locale.conf" LANG="en_US.UTF-8" /usr/bin/locale > "$XDG_CONFIG_HOME/locale.conf"
fi fi
if [ -r "$XDG_CONFIG_HOME/locale.conf" ] if [ -r "$XDG_CONFIG_HOME/locale.conf" ]
then then
@ -216,7 +216,7 @@ alias zlu="zypper list-updates"
# Language aliases. # Language aliases.
## Fedora/RHEL/CentOS: dnf install glibc-langpack-{en,fr} ## Fedora/RHEL/CentOS: dnf install glibc-langpack-{en,fr}
alias C="LANG=C.UTF-8" alias C="LANG=C.UTF-8"
alias en="LANG=en_GB.UTF-8" alias en="LANG=en_US.UTF-8"
alias fr="LANG=fr_FR.UTF-8" alias fr="LANG=fr_FR.UTF-8"
# Alias dig to drill if dig is not installed. # Alias dig to drill if dig is not installed.