summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-07-27 19:53:07 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-07-27 19:53:07 -0400
commit939b5c4631a7419236f3adca4824c5352fbffdb8 (patch)
tree6de8665b051ebc9f187c932cc052379f737a0944
parenta29a2b15436709da99b560f161910c36380e7829 (diff)
redetect mailboxes duplicates fixed
-rwxr-xr-xmutt-wizard.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mutt-wizard.sh b/mutt-wizard.sh
index 52cbaaf..e69effa 100755
--- a/mutt-wizard.sh
+++ b/mutt-wizard.sh
@@ -79,7 +79,7 @@ detectMailboxes() { \
delim=$(gen_delim $sidebar_width)
oneline=$(cat /tmp/$1_boxes | sed -e "s/^\|$/\"/g" | tr "\n" " ")
oneline="=$1 $delim $oneline"
- sed -i "/^mailboxes\|^set record\|^set postponed/d" "$muttdir"accounts/$1.muttrc
+ sed -i "/^mailboxes\|^set record\|^set postponed\|^set trash\|^set spoolfile/d" "$muttdir"accounts/$1.muttrc
echo mailboxes $oneline >> "$muttdir"accounts/$1.muttrc
sed -i "/^macro index,pager g/d" "$muttdir"accounts/$1.muttrc
grep -i /tmp/$1_boxes -e inbox | sed 1q | formatShortcut i inbox $1