aboutsummaryrefslogtreecommitdiff
path: root/dot_config/sh
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/sh')
-rw-r--r--dot_config/sh/locale.tmpl (renamed from dot_config/sh/locale)2
1 files changed, 1 insertions, 1 deletions
diff --git a/dot_config/sh/locale b/dot_config/sh/locale.tmpl
index f9dda6c..7d73fb3 100644
--- a/dot_config/sh/locale
+++ b/dot_config/sh/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