diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-04-22 23:47:41 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-04-22 23:47:41 -0400 |
commit | 680f99fec6fca0b5e0c07e7be02965af1cd71a51 (patch) | |
tree | 092f915328155db19fc4fbfb973b9e4d1758a0a8 | |
parent | 9eab140f25267cb8dc0a865b35719a64b547e5f0 (diff) |
fix for hyphened titles
-rwxr-xr-x | bin/mw | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() { \ |