summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-07-28 14:14:21 +0200
committerDaniel Friesel <derf@finalrewind.org>2012-07-28 14:14:21 +0200
commit10757a104a3a22893b67047215dc946f74fbdd68 (patch)
tree4ac1cf7071eab6156474d6d64472f330a1a959b6
parent80148bc89b409dbe60551d5a098775a897e63b08 (diff)
zprofile: new mail: ignore spam / Trash
-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}"