aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdot.local-bin-sm1
1 files changed, 1 insertions, 0 deletions
diff --git a/dot.local-bin-sm b/dot.local-bin-sm
index e830aca..0e02303 100755
--- a/dot.local-bin-sm
+++ b/dot.local-bin-sm
@@ -4,5 +4,6 @@ set -x
mbsync -a || true
notmuch new
new=$(notmuch search --output=messages tag:new | xargs)
+[ -z "$new" ] && exit
afew -tnvv
notmuch search --exclude=false $new