mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-09 18:19:23 +01:00
{bash,zsh}rc & profile: if root, English ISO 8601 at first
This commit is contained in:
parent
f9882b31b9
commit
1a348fbb78
16
etc/profile.d/00-root-en-iso8601.sh
Normal file
16
etc/profile.d/00-root-en-iso8601.sh
Normal 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
|
18
rc/bashrc
18
rc/bashrc
@ -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
|
||||
|
18
rc/zshrc
18
rc/zshrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user