{bash,zsh}rc: background the hostname figuring out

This commit is contained in:
Aminda Suomalainen 2024-07-29 18:02:15 +03:00
parent e5bd31559b
commit f289f9cc7a
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ fi
if hash lsb_release 2> /dev/null; then
(
export LC_ALL="en_DK.UTF-8"
hostname --all-fqdns
hostname --all-fqdns &
hostname --all-ip-addresses
printf "\n"
printf "$(uptime --pretty)\t$(uptime)\n"

View File

@ -31,7 +31,7 @@ fi
if hash lsb_release 2> /dev/null; then
(
export LC_ALL="en_DK.UTF-8"
hostname --all-fqdns
hostname --all-fqdns &
hostname --all-ip-addresses
printf "\n"
printf "$(uptime --pretty)\t$(uptime)\n"