From 957db9d3e81005135f439bddfaf7cdf333a59c9d Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 12 Jul 2017 20:10:17 +0200 Subject: l mail: show multiple recipents --- lass/2configs/mail.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lass/2configs') 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?%" -- cgit v1.2.3