summaryrefslogtreecommitdiff
path: root/bin/mw
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-12-10 06:14:50 -0500
committerLuke Smith <luke@lukesmith.xyz>2020-12-10 06:14:50 -0500
commit456d02d1ee0ab196ac256b91c9ac86a01f3c0bb6 (patch)
treef7cc87c26a007abd809e978cab756356851b70d9 /bin/mw
parent61b6332ae99cbad81072b079cb46d1e779921542 (diff)
fix #595
Diffstat (limited to 'bin/mw')
-rwxr-xr-xbin/mw2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mw b/bin/mw
index 8f24118..d179368 100755
--- a/bin/mw
+++ b/bin/mw
@@ -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" ;;