aboutsummaryrefslogtreecommitdiff
path: root/dot_config/sh
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2023-12-26 15:20:39 -0500
committerRyan Kavanagh <rak@rak.ac>2023-12-26 15:20:39 -0500
commit69d20d225670c15f6186e2e45db48a6b97de6e20 (patch)
treea3df14822d4cbb58f837080a576aefb8861aef30 /dot_config/sh
parentdrop afs symlinks (diff)
Update locale config
Diffstat (limited to '')
-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