mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-10 02:29:22 +01:00
{bash,zsh}rc: background the hostname figuring out
This commit is contained in:
parent
e5bd31559b
commit
f289f9cc7a
@ -138,7 +138,7 @@ fi
|
|||||||
if hash lsb_release 2> /dev/null; then
|
if hash lsb_release 2> /dev/null; then
|
||||||
(
|
(
|
||||||
export LC_ALL="en_DK.UTF-8"
|
export LC_ALL="en_DK.UTF-8"
|
||||||
hostname --all-fqdns
|
hostname --all-fqdns &
|
||||||
hostname --all-ip-addresses
|
hostname --all-ip-addresses
|
||||||
printf "\n"
|
printf "\n"
|
||||||
printf "$(uptime --pretty)\t$(uptime)\n"
|
printf "$(uptime --pretty)\t$(uptime)\n"
|
||||||
|
2
rc/zshrc
2
rc/zshrc
@ -31,7 +31,7 @@ fi
|
|||||||
if hash lsb_release 2> /dev/null; then
|
if hash lsb_release 2> /dev/null; then
|
||||||
(
|
(
|
||||||
export LC_ALL="en_DK.UTF-8"
|
export LC_ALL="en_DK.UTF-8"
|
||||||
hostname --all-fqdns
|
hostname --all-fqdns &
|
||||||
hostname --all-ip-addresses
|
hostname --all-ip-addresses
|
||||||
printf "\n"
|
printf "\n"
|
||||||
printf "$(uptime --pretty)\t$(uptime)\n"
|
printf "$(uptime --pretty)\t$(uptime)\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user