mirror of https://github.com/artizirk/dotfiles.git
7 lines
220 B
Plaintext
7 lines
220 B
Plaintext
|
#!/bin/bash
|
||
|
# Show a table of tag and now many unread emails under that tag
|
||
|
|
||
|
for tag in $(notmuch search --output=tags '*'); do
|
||
|
echo -ne "${tag} | $(notmuch count tag:${tag} and tag:unread) \n";
|
||
|
done | column -s '|' -t
|