diff options
Diffstat (limited to 'lass/2configs/mail.nix')
-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?%" |