aboutsummaryrefslogtreecommitdiff
path: root/dot_config/sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_config/sh/03_locale.tmpl (renamed from dot_config/sh/03_locale)2
1 files changed, 1 insertions, 1 deletions
diff --git a/dot_config/sh/03_locale b/dot_config/sh/03_locale.tmpl
index f9dda6c..7d73fb3 100644
--- a/dot_config/sh/03_locale
+++ b/dot_config/sh/03_locale.tmpl
@@ -1,4 +1,4 @@
-if ! export LANG=$(locale -a | grep -E -i "en_CA.UTF-?8"); then
+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