diff --git a/zshrc b/zshrc index 096170d..bbdb8d2 100644 --- a/zshrc +++ b/zshrc @@ -80,3 +80,9 @@ if exists stack; then fi exists thefuck && eval $(thefuck --alias) + +_prompt_todos() { + local todos=$(rg -l '^STATUS:NEEDS-ACTION' $HOME/.calendars | wc -l) + [[ $todos -gt 0 ]] && echo "Todos: $todos" +} +__chromaz_extra_left+=_prompt_todos