commit 29f264db233764a6963bce761b444091b603e114 parent 85c5d01dcd09058094a8a180c38751e88416b1f4 Author: Luke Smith <luke@lukesmith.xyz> Date: Mon, 1 Nov 2021 14:14:45 -0400 Revert "allow dynamically loading available mailboxes" This reverts commit 2cb2fa03452cb99537a1751961574a0b6d3253e0. Diffstat:
M | bin/mw | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/mw b/bin/mw @@ -226,7 +226,7 @@ getboxes() { if [ -n "${force+x}" ] ; then idnum=$((idnum + 1)) [ "$idnum" -eq "$x" ] || break done - toappend="mailboxes \`mdir=$maildir/$fulladdr/; find \$mdir -mindepth 1 -type d -name cur | sed -e 's:/cur\$:\":' -e \"s:\$mdir:\\\"=:\" | sort | tr '\\\n' ' '\`" + toappend="mailboxes $(echo "$mailboxes" | sed "s/^/\"=/;s/$/\"/" | paste -sd ' ' - )" } finalize() { echo "$toappend" >> "$accdir/$fulladdr.muttrc"