summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-22 23:47:41 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-22 23:47:41 -0400
commit680f99fec6fca0b5e0c07e7be02965af1cd71a51 (patch)
tree092f915328155db19fc4fbfb973b9e4d1758a0a8 /bin
parent9eab140f25267cb8dc0a865b35719a64b547e5f0 (diff)
fix for hyphened titles
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mw2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mw b/bin/mw
index 945399d..1cb1834 100755
--- 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() { \