From f289f9cc7a7443be70e36ae332935fd08af2ee9b Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 29 Jul 2024 18:02:15 +0300 Subject: [PATCH] {bash,zsh}rc: background the hostname figuring out --- rc/bashrc | 2 +- rc/zshrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/bashrc b/rc/bashrc index 86f35c67..299735ad 100755 --- a/rc/bashrc +++ b/rc/bashrc @@ -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" diff --git a/rc/zshrc b/rc/zshrc index b30c11d8..3c28e925 100755 --- a/rc/zshrc +++ b/rc/zshrc @@ -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"