diff options
| author | Thomas Schneider <qsx@chaotikum.eu> | 2020-07-26 19:22:09 +0200 |
|---|---|---|
| committer | Thomas Schneider <qsx@chaotikum.eu> | 2020-07-26 19:22:09 +0200 |
| commit | b74122b5a732a8d02de0d1b550bc7f49baa21a7b (patch) | |
| tree | 9f5a26211dcf9edb135a8c0dd132987c21c6c5b1 | |
| parent | 37b7ca9391e335cb609bcebd9cc17936b5b9a5be (diff) | |
sm: Allow gmi to fail
| -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" |
