]> git.rmz.io Git - dotfiles.git/commitdiff
zsh/motd: ellide long failed units
authorSamir Benmendil <me@rmz.io>
Thu, 23 Feb 2023 20:29:17 +0000 (20:29 +0000)
committerSamir Benmendil <me@rmz.io>
Wed, 8 Mar 2023 20:16:25 +0000 (20:16 +0000)
zsh/lib/motd.zsh

index 64c93248d00f5f506b2f38452b2a5a9686cd181e..c1155066b314552685c06d8429101dda9dda0407 100644 (file)
@@ -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