summaryrefslogtreecommitdiffstats
path: root/mutt
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-12-27 19:06:29 -0500
committerJesse Luehrs <doy@tozt.net>2021-12-27 19:06:29 -0500
commit6ad5f1cfda26c41fb1b7d06030c1918c06a3aad2 (patch)
tree98297a53d3e8642dcc001c073f5b1d73590c58f0 /mutt
parent579e180c033d102859fdb74495170a743cecc3a0 (diff)
downloadconf-6ad5f1cfda26c41fb1b7d06030c1918c06a3aad2.tar.gz
conf-6ad5f1cfda26c41fb1b7d06030c1918c06a3aad2.zip
switch from offlineimap to mbsync
Diffstat (limited to 'mutt')
-rwxr-xr-xmutt/choose-muttrc-type2
-rw-r--r--mutt/local (renamed from mutt/offlineimap)2
2 files changed, 2 insertions, 2 deletions
diff --git a/mutt/choose-muttrc-type b/mutt/choose-muttrc-type
index 21db151..363a64c 100755
--- a/mutt/choose-muttrc-type
+++ b/mutt/choose-muttrc-type
@@ -4,7 +4,7 @@ set -o pipefail
case "$(hostname)" in
hornet)
- echo 'source ~/.mutt/offlineimap'
+ echo 'source ~/.mutt/local'
;;
*)
echo 'source ~/.mutt/imap'
diff --git a/mutt/offlineimap b/mutt/local
index e22fe53..0d6205f 100644
--- a/mutt/offlineimap
+++ b/mutt/local
@@ -10,7 +10,7 @@ mailboxes `\
echo -n "\"=$basename\" ";\
fi\
done`
-macro index R "<enter-command>unset wait_key<enter><shell-escape>update-mail<enter><enter-command>set wait_key<enter>" "fetch mail with offlineimap"
+macro index R "<enter-command>unset wait_key<enter><shell-escape>mbsync all && notmuch new<enter><enter-command>set wait_key<enter>" "fetch mail with mbsync"
set timeout=3
# vim: ft=neomuttrc