From 4a0efed1e09d05b3793f5dbeea1647d0b903e4d1 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Fri, 19 Aug 2022 16:06:06 +0100 Subject: [PATCH] Fix layout of motd --- roles/home-cli/files/shrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/home-cli/files/shrc b/roles/home-cli/files/shrc index 7b186c3..ee6a9f3 100644 --- a/roles/home-cli/files/shrc +++ b/roles/home-cli/files/shrc @@ -233,7 +233,7 @@ usermotd () { export _acp_motd_shown=1 # OS (kernel) name and version in reverse video. - printf "\033[7m"; uname -sr; printf "\033[0m" + printf "\033[7m$(uname -sr)\033[0m\n" # Distro name and version on Linux and macOS. if [ -r /etc/os-release ]