summaryrefslogtreecommitdiff
path: root/.config/login.local.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/login.local.sh')
-rw-r--r--.config/login.local.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/login.local.sh b/.config/login.local.sh
index a01f227..d970000 100644
--- a/.config/login.local.sh
+++ b/.config/login.local.sh
@@ -2,3 +2,6 @@
if [[ $EDITOR = /usr/bin/vi ]]; then
unset EDITOR
fi
+if { [[ $LANG = C ]] || [[ -z $LANG ]]; } && grep '^en_US.UTF-8\s' /etc/locale.gen &>/dev/null; then
+ export LANG=en_US.UTF-8
+fi