{bash,zsh}rc: ugly hack to ensure language

This commit is contained in:
Aminda Suomalainen 2024-07-24 19:57:25 +03:00
parent bcce27ac4a
commit 5a0218d3f3
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 4 additions and 4 deletions

View File

@ -137,8 +137,7 @@ fi
# the system, so I can do away with a lot of checks for Darwin
if hash lsb_release 2> /dev/null; then
(
LC_ALL="en_DK.UTF-8"
LANGUAGE=en
export LC_ALL="en_DK.UTF-8"
hostname --all-fqdns
hostname --all-ip-addresses
printf "\n"
@ -152,6 +151,7 @@ if hash lsb_release 2> /dev/null; then
printf "\n"
df / $HOME --human-readable --output=source,fstype,size,used,avail,pcent | uniq
unset LC_ALL
)
# Only print motivational phrases if username is aminda or mikaela

View File

@ -30,8 +30,7 @@ fi
# the system, so I can do away with a lot of checks for Darwin
if hash lsb_release 2> /dev/null; then
(
LC_ALL="en_DK.UTF-8"
LANGUAGE=en
export LC_ALL="en_DK.UTF-8"
hostname --all-fqdns
hostname --all-ip-addresses
printf "\n"
@ -44,6 +43,7 @@ if hash lsb_release 2> /dev/null; then
fi
printf "\n"
df / $HOME --human-readable --output=source,fstype,size,used,avail,pcent | uniq
unset LC_ALL
)
# Only print motivational phrases if username is aminda or mikaela