aboutsummaryrefslogtreecommitdiff
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
parentdrop afs symlinks (diff)
Update locale config
-rw-r--r--chezmoi.toml.censored2
-rw-r--r--dot_config/sh/locale.tmpl (renamed from dot_config/sh/locale)2
2 files changed, 2 insertions, 2 deletions
diff --git a/chezmoi.toml.censored b/chezmoi.toml.censored
index 3a8f00e..2d258f3 100644
--- a/chezmoi.toml.censored
+++ b/chezmoi.toml.censored
@@ -1,7 +1,7 @@
[gpg]
recipient = "4E469519ED677734268FBD958F7BF8FC4A11C97A"
[data]
- keychain_keys = "id_ed25519"
+ locale_base = "en_CA"
password.cmu = ""
password.eseptember = ""
password.gmail = ""
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