From ff438de98612c2d23621c8599e411fbfcf1578c8 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 6 May 2018 15:18:09 -0700 Subject: [PATCH] ham fix --- mutt-wizard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mutt-wizard.sh b/mutt-wizard.sh index 23ae7ab..8fa11f3 100755 --- a/mutt-wizard.sh +++ b/mutt-wizard.sh @@ -82,7 +82,7 @@ detectMailboxes() { \ sed -i "/^mailboxes\|^set spoolfile\|^set record\|^set postponed/d" "$muttdir"accounts/$1.muttrc echo mailboxes $oneline >> "$muttdir"accounts/$1.muttrc sed -i "/^macro index,pager g/d" "$muttdir"accounts/$1.muttrc - grep -vi /tmp/$1_boxes -e "trash\|drafts\|sent\|trash\|spam\|junk\|archive\|chat\|old\|new\|gmail\|sms\|call" | sort -n | sed 1q | formatShortcut i inbox $1 + grep -vi /tmp/$1_boxes -e "trash\|drafts\|sent\|trash\|spam\|ham\|junk\|archive\|chat\|old\|new\|gmail\|sms\|call" | sort -n | sed 1q | formatShortcut i inbox $1 grep -i /tmp/$1_boxes -e sent | sed 1q | formatShortcut s sent $1 grep -i /tmp/$1_boxes -e draft | sed 1q | formatShortcut d drafts $1 grep -i /tmp/$1_boxes -e trash | sed 1q | formatShortcut t trash $1