about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-07-25 21:04:04 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-07-25 21:04:04 +0200
commitdb1c4ecd6fd44d2a6db24441fcb6d5c83d95c385 (patch)
tree7af7829e5fa91b88df22a938bbdd43610018aa60
parent06debb7703e1292ff631f2ae190e99863b2dcf75 (diff)
downloadmblaze-db1c4ecd6fd44d2a6db24441fcb6d5c83d95c385.tar.gz
mblaze-db1c4ecd6fd44d2a6db24441fcb6d5c83d95c385.tar.xz
mblaze-db1c4ecd6fd44d2a6db24441fcb6d5c83d95c385.zip
mcomp: also use Local-Mailbox: from ~/.santoku/profile
-rwxr-xr-xmcomp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcomp b/mcomp
index 037dc96..c8d41ac 100755
--- a/mcomp
+++ b/mcomp
@@ -19,6 +19,8 @@ draft="snd.$i"
 		echo "Cc: "
 		echo "Bcc: "
 		echo "Subject: "
+		from=$(mhdr -local-mailbox ~/.santoku/profile)
+		[ "$from" ] && echo "From: $from"
 		cat ~/.santoku/headers 2>/dev/null
 		echo
 		echo