X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/cbc416cb2f46af1516bd8e084678c35e30edfe8b..e3bc42d5aa2868d51a8024aec1ecce46ea2fb8f2:/zsh/lib/motd.zsh diff --git a/zsh/lib/motd.zsh b/zsh/lib/motd.zsh index 64c9324..be5b477 100644 --- a/zsh/lib/motd.zsh +++ b/zsh/lib/motd.zsh @@ -11,8 +11,7 @@ msg() } if [[ -d ~/org ]]; then - # 44 seems to be the number of color escape characters used by grep - todo | cut -c-$((COLUMNS + 44)) + org-agenda fi if (( $+commands[checkupdates] )); then @@ -28,7 +27,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