From c4d7ee362d78991212a7dd69f732d059b204126c Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 20 Jul 2024 17:56:11 +0300 Subject: [PATCH] actually en_US --- etc/profile.d/00-root-en-iso8601.sh | 16 ----------- etc/profile.d/00-root-en.sh | 30 +++++++++++++++++++++ rc/bashrc | 42 +++++++++++++++++++---------- rc/zshrc | 42 +++++++++++++++++++---------- 4 files changed, 86 insertions(+), 44 deletions(-) delete mode 100644 etc/profile.d/00-root-en-iso8601.sh create mode 100644 etc/profile.d/00-root-en.sh diff --git a/etc/profile.d/00-root-en-iso8601.sh b/etc/profile.d/00-root-en-iso8601.sh deleted file mode 100644 index 2cbe6d1d..00000000 --- a/etc/profile.d/00-root-en-iso8601.sh +++ /dev/null @@ -1,16 +0,0 @@ -if [[ "$(id -u)" == "0" ]]; then - export LANG="en_DK.UTF-8" - export LC_CTYPE="en_DK.UTF-8" - export LC_NUMERIC="en_DK.UTF-8" - export LC_TIME="en_DK.UTF-8" - export LC_COLLATE="en_DK.UTF-8" - export LC_MONETARY="en_DK.UTF-8" - export LC_MESSAGES="en_DK.UTF-8" - export LC_PAPER="en_DK.UTF-8" - export LC_NAME="en_DK.UTF-8" - export LC_ADDRESS="en_DK.UTF-8" - export LC_TELEPHONE="en_DK.UTF-8" - export LC_MEASUREMENT="en_DK.UTF-8" - export LC_IDENTIFICATION="en_DK.UTF-8" - export LC_ALL="en_DK.UTF-8" -fi diff --git a/etc/profile.d/00-root-en.sh b/etc/profile.d/00-root-en.sh new file mode 100644 index 00000000..d9c89a37 --- /dev/null +++ b/etc/profile.d/00-root-en.sh @@ -0,0 +1,30 @@ +if [[ "$(id -u)" == "0" ]]; then + #export LANG="en_DK.UTF-8" + #export LC_CTYPE="en_DK.UTF-8" + #export LC_NUMERIC="en_DK.UTF-8" + #export LC_TIME="en_DK.UTF-8" + #export LC_COLLATE="en_DK.UTF-8" + #export LC_MONETARY="en_DK.UTF-8" + #export LC_MESSAGES="en_DK.UTF-8" + #export LC_PAPER="en_DK.UTF-8" + #export LC_NAME="en_DK.UTF-8" + #export LC_ADDRESS="en_DK.UTF-8" + #export LC_TELEPHONE="en_DK.UTF-8" + #export LC_MEASUREMENT="en_DK.UTF-8" + #export LC_IDENTIFICATION="en_DK.UTF-8" + #export LC_ALL="en_DK.UTF-8" + export LANG="en_US.UTF-8" + export LC_CTYPE="en_US.UTF-8" + export LC_NUMERIC="en_US.UTF-8" + export LC_TIME="en_US.UTF-8" + export LC_COLLATE="en_US.UTF-8" + export LC_MONETARY="en_US.UTF-8" + export LC_MESSAGES="en_US.UTF-8" + export LC_PAPER="en_US.UTF-8" + export LC_NAME="en_US.UTF-8" + export LC_ADDRESS="en_US.UTF-8" + export LC_TELEPHONE="en_US.UTF-8" + export LC_MEASUREMENT="en_US.UTF-8" + export LC_IDENTIFICATION="en_US.UTF-8" + export LC_ALL="en_US.UTF-8" +fi diff --git a/rc/bashrc b/rc/bashrc index 0fb21596..187b36a0 100755 --- a/rc/bashrc +++ b/rc/bashrc @@ -1,20 +1,34 @@ #!/usr/bin/env bash if [[ "$(id -u)" == "0" ]]; then - export LANG="en_DK.UTF-8" - export LC_CTYPE="en_DK.UTF-8" - export LC_NUMERIC="en_DK.UTF-8" - export LC_TIME="en_DK.UTF-8" - export LC_COLLATE="en_DK.UTF-8" - export LC_MONETARY="en_DK.UTF-8" - export LC_MESSAGES="en_DK.UTF-8" - export LC_PAPER="en_DK.UTF-8" - export LC_NAME="en_DK.UTF-8" - export LC_ADDRESS="en_DK.UTF-8" - export LC_TELEPHONE="en_DK.UTF-8" - export LC_MEASUREMENT="en_DK.UTF-8" - export LC_IDENTIFICATION="en_DK.UTF-8" - export LC_ALL="en_DK.UTF-8" + #export LANG="en_DK.UTF-8" + #export LC_CTYPE="en_DK.UTF-8" + #export LC_NUMERIC="en_DK.UTF-8" + #export LC_TIME="en_DK.UTF-8" + #export LC_COLLATE="en_DK.UTF-8" + #export LC_MONETARY="en_DK.UTF-8" + #export LC_MESSAGES="en_DK.UTF-8" + #export LC_PAPER="en_DK.UTF-8" + #export LC_NAME="en_DK.UTF-8" + #export LC_ADDRESS="en_DK.UTF-8" + #export LC_TELEPHONE="en_DK.UTF-8" + #export LC_MEASUREMENT="en_DK.UTF-8" + #export LC_IDENTIFICATION="en_DK.UTF-8" + #export LC_ALL="en_DK.UTF-8" + export LANG="en_US.UTF-8" + export LC_CTYPE="en_US.UTF-8" + export LC_NUMERIC="en_US.UTF-8" + export LC_TIME="en_US.UTF-8" + export LC_COLLATE="en_US.UTF-8" + export LC_MONETARY="en_US.UTF-8" + export LC_MESSAGES="en_US.UTF-8" + export LC_PAPER="en_US.UTF-8" + export LC_NAME="en_US.UTF-8" + export LC_ADDRESS="en_US.UTF-8" + export LC_TELEPHONE="en_US.UTF-8" + export LC_MEASUREMENT="en_US.UTF-8" + export LC_IDENTIFICATION="en_US.UTF-8" + export LC_ALL="en_US.UTF-8" fi UNAME=$(uname) diff --git a/rc/zshrc b/rc/zshrc index fb899e7a..a34faca8 100755 --- a/rc/zshrc +++ b/rc/zshrc @@ -1,20 +1,34 @@ #!/usr/bin/env zsh if [[ "$(id -u)" == "0" ]]; then - export LANG="en_DK.UTF-8" - export LC_CTYPE="en_DK.UTF-8" - export LC_NUMERIC="en_DK.UTF-8" - export LC_TIME="en_DK.UTF-8" - export LC_COLLATE="en_DK.UTF-8" - export LC_MONETARY="en_DK.UTF-8" - export LC_MESSAGES="en_DK.UTF-8" - export LC_PAPER="en_DK.UTF-8" - export LC_NAME="en_DK.UTF-8" - export LC_ADDRESS="en_DK.UTF-8" - export LC_TELEPHONE="en_DK.UTF-8" - export LC_MEASUREMENT="en_DK.UTF-8" - export LC_IDENTIFICATION="en_DK.UTF-8" - export LC_ALL="en_DK.UTF-8" + #export LANG="en_DK.UTF-8" + #export LC_CTYPE="en_DK.UTF-8" + #export LC_NUMERIC="en_DK.UTF-8" + #export LC_TIME="en_DK.UTF-8" + #export LC_COLLATE="en_DK.UTF-8" + #export LC_MONETARY="en_DK.UTF-8" + #export LC_MESSAGES="en_DK.UTF-8" + #export LC_PAPER="en_DK.UTF-8" + #export LC_NAME="en_DK.UTF-8" + #export LC_ADDRESS="en_DK.UTF-8" + #export LC_TELEPHONE="en_DK.UTF-8" + #export LC_MEASUREMENT="en_DK.UTF-8" + #export LC_IDENTIFICATION="en_DK.UTF-8" + #export LC_ALL="en_DK.UTF-8" + export LANG="en_US.UTF-8" + export LC_CTYPE="en_US.UTF-8" + export LC_NUMERIC="en_US.UTF-8" + export LC_TIME="en_US.UTF-8" + export LC_COLLATE="en_US.UTF-8" + export LC_MONETARY="en_US.UTF-8" + export LC_MESSAGES="en_US.UTF-8" + export LC_PAPER="en_US.UTF-8" + export LC_NAME="en_US.UTF-8" + export LC_ADDRESS="en_US.UTF-8" + export LC_TELEPHONE="en_US.UTF-8" + export LC_MEASUREMENT="en_US.UTF-8" + export LC_IDENTIFICATION="en_US.UTF-8" + export LC_ALL="en_US.UTF-8" fi # TOC