{bash,zsh}rc & profile: if root, English ISO 8601 at first

This commit is contained in:
Aminda Suomalainen 2024-07-20 17:20:24 +03:00
parent f9882b31b9
commit 1a348fbb78
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,16 @@
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

View File

@ -1,4 +1,22 @@
#!/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"
fi
UNAME=$(uname)
# TOC
# Defaults etc... M0TZLS

View File

@ -1,4 +1,22 @@
#!/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"
fi
# TOC
# Defaults etc... M0TZLS
# Environment 7RS56S