From 614bf60479cd0cffa1b819f62b331f04ce02081f Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 21 Dec 2023 16:28:51 +0100 Subject: [PATCH] zsh: use english for messages --- .config/zsh/.zprofile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 554467a..61b00d2 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -85,6 +85,11 @@ if [[ "${LC_TIME}" != "en_DK.utf8" ]] && command -v locale > /dev/null; then [[ "$(locale --all-locales)" == *en_DK* ]] && export LC_TIME="en_DK.utf8" fi +# Use english messages +if [[ "${LC_MESSAGES}" != "en_US.utf8" ]] && command -v locale > /dev/null; then + [[ "$(locale --all-locales)" == *en_US* ]] && export LC_MESSAGES="en_US.utf8" +fi + export CCACHE_DIR="/var/cache/ccache" # Set terminal