notmuch: Add "mbsync -a" to the pre-new hook
parent
11ad331056
commit
1fc81eac21
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
mbsync -a
|
|
@ -21,6 +21,5 @@
|
||||||
(job '(next-hour (range 0 24 3)) "updatedb-local")
|
(job '(next-hour (range 0 24 3)) "updatedb-local")
|
||||||
|
|
||||||
(job '(next-minute (range 0 60 15))
|
(job '(next-minute (range 0 60 15))
|
||||||
'(begin (system* "mbsync" "-a")
|
'(system* "notmuch" "new") ; Email is sync'ed from a pre-new hook.
|
||||||
(system* "notmuch" "new"))
|
|
||||||
"mail")
|
"mail")
|
||||||
|
|
Loading…
Reference in New Issue