}
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
if (( $+commands[systemctl] )); then
if (( $(systemctl show -P NFailedUnits) )); then
- systemctl list-units -q --failed
+ systemctl --no-pager list-units -q --failed
fi
fi