diff options
author | Martin Polden <mpolden@mpolden.no> | 2023-06-30 16:46:31 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2023-06-30 16:46:31 +0200 |
commit | 6e44d729fcc7802e74c8dd86ea6614673df881b7 (patch) | |
tree | 5cc77ca2398e5e4e06c5a43760862e69cb75f3ed | |
parent | bf57e3f23c321aca82a351d0d9a1fa62af364640 (diff) |
zsh: set LC_TIME
-rw-r--r-- | zshenv | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,13 +1,18 @@ # -*- mode: sh -*- +# Locale if [[ "$OSTYPE" == darwin* ]]; then - # Locale export LANG="en_US.UTF-8" # iTerm may choose to set an invalid LC_CTYPE # https://superuser.com/a/1400419 export LC_CTYPE="en_US.UTF-8" + # Norwegian time locale + export LC_TIME="no_NO.UTF-8" # Ensure that /etc/zprofile does not mess with our PATH unsetopt GLOBAL_RCS +elif [[ "$OSTYPE" == linux* ]]; then + # Norwegian locale on Linux is named differently + export LC_TIME="nb_NO.UTF-8" fi # Set TERM |