summaryrefslogtreecommitdiff
path: root/mutt-wizard.sh
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-07-23 20:17:58 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-07-23 20:17:58 -0400
commit10deec70e3c7a707ad0bd0fe5e2fa50a5187cf90 (patch)
treee707471ee9d119ea712fee6a13b7cd0bab7d4eac /mutt-wizard.sh
parent47d78eaeb424aace56ff717b1232af887794b3d6 (diff)
detectmail fix
Diffstat (limited to 'mutt-wizard.sh')
-rwxr-xr-xmutt-wizard.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mutt-wizard.sh b/mutt-wizard.sh
index 31b1514..299f269 100755
--- 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"