summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-03-04 23:13:40 -0500
committerJesse Luehrs <doy@tozt.net>2019-03-04 23:13:40 -0500
commitce361d531efd95891c40e9f249fca5761369510c (patch)
treef0c16434103b727d9e292fc2a91e97ee98d8c17c
parentdb78a56bd16bf7dc1ee50cf43ee71cf7d9f3ec71 (diff)
downloadconf-ce361d531efd95891c40e9f249fca5761369510c.tar.gz
conf-ce361d531efd95891c40e9f249fca5761369510c.zip
don't list notmuch as a mail folder
-rw-r--r--mutt/offlineimap5
1 files changed, 3 insertions, 2 deletions
diff --git a/mutt/offlineimap b/mutt/offlineimap
index f1d67b4..883cb67 100644
--- a/mutt/offlineimap
+++ b/mutt/offlineimap
@@ -4,8 +4,9 @@ set spoolfile="~/Maildir/INBOX"
mailboxes `\
for folder in ~/Maildir/*; do\
basename=$(basename "$folder");\
- if [ "x${basename:0:4}" != "xold." \
- -a "x$basename" != "xspam" ]; then\
+ if [ "x${basename:0:4}" != "xold."\
+ -a "x$basename" != "xspam"\
+ -a "x$basename" != "xnotmuch" ]; then\
echo -n "\"=$basename\" ";\
fi\
done`