mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-06-11 17:47:31 +02:00
{bash,zsh}rc: actually call lsb_release -sd as containers are confusing
This commit is contained in:
parent
95e81c4ec8
commit
d63bc48552
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user