diff options
author | lassulus <lassulus@lassul.us> | 2017-07-12 20:10:17 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-07-12 20:10:17 +0200 |
commit | 957db9d3e81005135f439bddfaf7cdf333a59c9d (patch) | |
tree | 612b429da51e3345f49fce431cd3e7f8c7134a25 | |
parent | f214de2226c430ccfa8b5b50d2f52b57969c7264 (diff) |
l mail: show multiple recipents
-rw-r--r-- | lass/2configs/mail.nix | 2 |
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?%" |