diff options
author | Luke Smith <luke@lukesmith.xyz> | 2021-11-01 14:14:45 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2021-11-01 14:14:45 -0400 |
commit | 29f264db233764a6963bce761b444091b603e114 (patch) | |
tree | 9e24d2f1c7e7c87c5afc7847906d138414da55f8 | |
parent | 85c5d01dcd09058094a8a180c38751e88416b1f4 (diff) |
Revert "allow dynamically loading available mailboxes"
This reverts commit 2cb2fa03452cb99537a1751961574a0b6d3253e0.
-rwxr-xr-x | bin/mw | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |