diff --git a/roles/home-cli/files/shrc b/roles/home-cli/files/shrc index 0b00259..00e990e 100644 --- a/roles/home-cli/files/shrc +++ b/roles/home-cli/files/shrc @@ -102,6 +102,10 @@ case "$LANG" in PAPERSIZE="a4" ;; esac +if [ -x /usr/bin/locale ] && [ $(locale -a 2>/dev/null | grep ${LANG-invalid} | sed 's/UTF-8//' | wc -l) -eq 0 ]; then + LANG=C + LANGUAGE=C:en +fi export LANG export LANGUAGE export PAPERSIZE