diff options
author | Luke Smith <luke@lukesmith.xyz> | 2020-12-10 06:14:50 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2020-12-10 06:14:50 -0500 |
commit | 456d02d1ee0ab196ac256b91c9ac86a01f3c0bb6 (patch) | |
tree | f7cc87c26a007abd809e978cab756356851b70d9 | |
parent | 61b6332ae99cbad81072b079cb46d1e779921542 (diff) |
fix #595
-rwxr-xr-x | bin/mw | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -239,7 +239,7 @@ finalize() { echo "$mailboxes" | xargs -I {} mkdir -p "$maildir/$fulladdr/{}/cur sed -ibu "/$MARKER/d" "$accdir/$idnum-$fulladdr.muttrc" ; rm -f "$accdir/$idnum-$fulladdr.muttrcbu" toappend="mailboxes $(echo "$mailboxes" | sed "s/^/\"=/;s/$/\"/" | paste -sd ' ' )" for x in $mailboxes; do - case $x in + case "$x" in *[Ss][Ee][Nn][Tt]*) setBox record "$x"; formatShortcut s sent "$x" ;; *[Dd][Rr][Aa][Ff][Tt][Ss]*) setBox postponed "$x"; formatShortcut d drafts "$x" ;; *[Tt][Rr][Aa][Ss][Hh]*) formatShortcut t trash "$x"; setBox trash "$x" ;; |