diff options
| -rwxr-xr-x | dot.local-bin-sm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dot.local-bin-sm b/dot.local-bin-sm index c519299..63101ae 100755 --- a/dot.local-bin-sm +++ b/dot.local-bin-sm @@ -3,7 +3,7 @@ set -e set -x mbsync -a || true notmuch new -[ -d ~/.maildir/GMail ] && (cd ~/.maildir/GMail && gmi sync) +[ -d ~/.maildir/GMail ] && (cd ~/.maildir/GMail && gmi sync || true) new=$(notmuch search --output=messages tag:new | xargs) [ -z "$new" ] && exit notmuch config set query.new "$new" |
