From 01cb7acefd766d4809f5ab55b3c70714dbe13abf Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 23 Feb 2023 20:29:17 +0000 Subject: [PATCH] zsh/motd: ellide long failed units --- zsh/lib/motd.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/lib/motd.zsh b/zsh/lib/motd.zsh index 64c9324..c115506 100644 --- a/zsh/lib/motd.zsh +++ b/zsh/lib/motd.zsh @@ -28,7 +28,7 @@ fi if (( $+commands[systemctl] )); then if (( $(systemctl show -P NFailedUnits) )); then - systemctl list-units -q --failed + systemctl --no-pager list-units -q --failed fi fi -- 2.48.1