From: Samir Benmendil Date: Thu, 23 Feb 2023 20:29:17 +0000 (+0000) Subject: zsh/motd: ellide long failed units X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/01cb7acefd766d4809f5ab55b3c70714dbe13abf?ds=sidebyside zsh/motd: ellide long failed units --- 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