commit 10deec70e3c7a707ad0bd0fe5e2fa50a5187cf90
parent 47d78eaeb424aace56ff717b1232af887794b3d6
Author: Luke Smith <luke@lukesmith.xyz>
Date: Mon, 23 Jul 2018 20:17:58 -0400
detectmail fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mutt-wizard.sh b/mutt-wizard.sh
@@ -75,7 +75,7 @@ gen_delim() { \
detectMailboxes() { \
find ~/.mail/$1 -maxdepth 1 -mindepth 1 -type d | sed -e "s/.*\///g;s/^/=/g" > /tmp/$1_boxes
- sidebar_width=$(sed -n -e '/^set sidebar_width/p' "$muttdir"/muttrc | awk -F'=' '{print $2}')
+ sidebar_width=$(sed -n -e '/^set sidebar_width/p' "$muttdir"muttrc | awk -F'=' '{print $2}')
delim=$(gen_delim $sidebar_width)
oneline=$(cat /tmp/$1_boxes | sed -e "s/^\|$/\"/g" | tr "\n" " ")
oneline="=$1 $delim $oneline"