]> git.rmz.io Git - dotfiles.git/blobdiff - zsh/lib/motd.zsh
zsh/motd: ellide long failed units
[dotfiles.git] / zsh / lib / motd.zsh
index 64c93248d00f5f506b2f38452b2a5a9686cd181e..c1155066b314552685c06d8429101dda9dda0407 100644 (file)
@@ -28,7 +28,7 @@ fi
 
 if (( $+commands[systemctl] )); then
     if (( $(systemctl show -P NFailedUnits) )); then
 
 if (( $+commands[systemctl] )); then
     if (( $(systemctl show -P NFailedUnits) )); then
-        systemctl list-units -q --failed
+        systemctl --no-pager list-units -q --failed
     fi
 fi
 
     fi
 fi