commit 680f99fec6fca0b5e0c07e7be02965af1cd71a51 parent 9eab140f25267cb8dc0a865b35719a64b547e5f0 Author: Luke Smith <luke@lukesmith.xyz> Date: Mon, 22 Apr 2019 23:47:41 -0400 fix for hyphened titles Diffstat:
M | bin/mw | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/mw b/bin/mw @@ -13,7 +13,7 @@ mwconfig="/usr/share/mutt-wizard/mutt-wizard.muttrc" cachedir="$HOME/.cache/mutt-wizard" muttrc="$muttdir/muttrc" -getaccounts() { accounts="$(find "$accdir" -type f | grep -o "[0-9]-.*.muttrc" | sed "s/-/: /g;s/\..*//" | sort -n)" ;} +getaccounts() { accounts="$(find "$accdir" -type f | grep -o "[0-9]-.*.muttrc" | sed "s/-/: /;s/\..*//" | sort -n)" ;} list() { getaccounts && [ -n "$accounts" ] && echo "$accounts" ;} getprofiles() { \