summaryrefslogtreecommitdiffstats
path: root/lass/2configs/mail.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-07-12 20:10:17 +0200
committerlassulus <lassulus@lassul.us>2017-07-12 20:10:17 +0200
commit957db9d3e81005135f439bddfaf7cdf333a59c9d (patch)
tree612b429da51e3345f49fce431cd3e7f8c7134a25 /lass/2configs/mail.nix
parentf214de2226c430ccfa8b5b50d2f52b57969c7264 (diff)
l mail: show multiple recipents
Diffstat (limited to 'lass/2configs/mail.nix')
-rw-r--r--lass/2configs/mail.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lass/2configs/mail.nix b/lass/2configs/mail.nix
index 6555b1b45..9f5e3d523 100644
--- a/lass/2configs/mail.nix
+++ b/lass/2configs/mail.nix
@@ -56,7 +56,7 @@ let
set index_format="${pkgs.writeDash "mutt-index" ''
# http://www.mutt.org/doc/manual/#formatstrings
- recipent="$(echo $1 | sed 's/.*<\([^>]*\).*/\1/')"
+ recipent="$(echo $1 | sed 's/[^,]*<\([^>]*\)[^,]*/ \1/g')"
# output to mutt
# V
echo "%4C %Z %?GI?%GI& ? %[%d/%b] %-20.20a %?M?(%3M)& ? %s %> $recipent %?g?%g?%"