mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
{bash,zsh}rc: ugly hack to ensure language
This commit is contained in:
parent
bcce27ac4a
commit
5a0218d3f3
@ -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
|
||||
|
4
rc/zshrc
4
rc/zshrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user