diff options
-rwxr-xr-x | count-emails | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/count-emails b/count-emails index 4bb75c1..113f95b 100755 --- a/count-emails +++ b/count-emails @@ -5,7 +5,7 @@ exec scsh -o thread-fluids -s "$0" "$@" !# (if (exec-path-search "notmuch" (thread-fluid exec-path-list)) - (display (length (run/sexp (notmuch search --output=files --format=sexp tag:unread)))) + (display (run/sexp (notmuch count tag:unread))) (begin (let* ((mail-root (string-append (getenv "HOME") "/documents/mail")) (unread-emails |