From b74122b5a732a8d02de0d1b550bc7f49baa21a7b Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Sun, 26 Jul 2020 19:22:09 +0200 Subject: sm: Allow gmi to fail --- dot.local-bin-sm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dot.local-bin-sm') 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" -- cgit v1.2.3