summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 5cbd521..f2061de 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -822,6 +822,11 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
   (consult-ripgrep "~/Documents/Notes"))
 (global-set-key (kbd "C-j C-s") #'noa/consult-rg-notes)
 
+(defun noa/agenda ()
+  "List agenda."
+  (interactive)
+  (async-shell-command "~/.config/Scripts/agenda" "*agenda*"))
+
 ;; so i can search for synonyms without using the internet
 (use-package wordnut
   :ensure t