4 lines
180 B
Bash
Executable File
4 lines
180 B
Bash
Executable File
#!/usr/bin/env zsh
|
|
let message_count="$(mu find flag:unread AND maildir:/protonmail/Inbox 2>/dev/null | wc -l)"
|
|
(( "${message_count}" > 0 )) && printf ' %s' "${message_count}"
|