]> git.rmz.io Git - dotfiles.git/commitdiff
zsh: use org-agenda as motd
authorSamir Benmendil <me@rmz.io>
Tue, 31 Oct 2023 21:58:05 +0000 (21:58 +0000)
committerSamir Benmendil <me@rmz.io>
Tue, 31 Oct 2023 23:08:51 +0000 (23:08 +0000)
zsh/lib/motd.zsh

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