diff options
-rw-r--r-- | chezmoi.toml.censored | 2 | ||||
-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 |