diff options
author | Martin Polden <mpolden@mpolden.no> | 2023-12-22 16:47:40 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2023-12-22 16:50:58 +0100 |
commit | c7e6ec29e167d06504aa1907f9e42303ed85d3e2 (patch) | |
tree | bcb3d1439030b736c115f3707b7c6577bd0141a0 | |
parent | 28ec663c87135e4bc4bfd16a80876d0a9c735a18 (diff) |
zsh: set LANG on Linux
LANG may not always be set by default, for example on Fedora.
-rw-r--r-- | zshenv | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11,6 +11,7 @@ if [[ "$OSTYPE" == darwin* ]]; then # Ensure that /etc/zprofile does not mess with our PATH unsetopt GLOBAL_RCS elif [[ "$OSTYPE" == linux* ]]; then + export LANG="en_US.UTF-8" # Norwegian locale on Linux is named differently export LC_TIME="nb_NO.UTF-8" fi |