{bash,zsh}rc: actually call lsb_release -sd as containers are confusing

This commit is contained in:
Aminda Suomalainen 2025-06-09 10:04:06 +03:00
parent 95e81c4ec8
commit d63bc48552
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,7 @@ if hash lsb_release 2> /dev/null; then
elif hash hostnamectl 2> /dev/null; then
hostnamectl hostname &
fi
lsb_release -sd &
if hash ifconfig 2> /dev/null; then
\LC_ALL=C.utf8 \ifconfig | \grep inet | \grep -Ev "127.0.0.1|inet6"

View File

@ -42,6 +42,7 @@ if hash lsb_release 2> /dev/null; then
elif hash hostnamectl 2> /dev/null; then
hostnamectl hostname &
fi
lsb_release -sd
if hash ifconfig 2> /dev/null; then
LC_ALL=C.utf8 \ifconfig | \grep inet | \grep -Ev "127.0.0.1|inet6"