summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/.zprofile2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/.zprofile b/etc/.zprofile
index 37d9aa0..17a2caf 100644
--- a/etc/.zprofile
+++ b/etc/.zprofile
@@ -24,7 +24,7 @@ function {
setopt local_options
setopt hist_subst_pattern
- new_mail=(~/Maildir/**/new(DFN:h:s/*\\/Maildir\\/./))
+ new_mail=(~/Maildir/**/new~*/.(spam|Trash)*(DFN:h:s/*\\/Maildir\\/./))
if (( $#new_mail )); then
pr_info "Unread mail in: ${(j(, ))new_mail}"