aboutsummaryrefslogtreecommitdiffstats
path: root/_mutt/compose.sh
diff options
context:
space:
mode:
Diffstat (limited to '_mutt/compose.sh')
-rwxr-xr-x_mutt/compose.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/_mutt/compose.sh b/_mutt/compose.sh
new file mode 100755
index 0000000..9172421
--- /dev/null
+++ b/_mutt/compose.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# Compose mail in new tmux/screen window.
+#
+# Reference:
+# [1] Multi-window Mutt with Screen
+# http://op-co.de/blog/posts/mulit-window_mutt/
+#
+
+# set the screen window title to the message receiver
+#awk -F 'To: ' '/^To:/ { print "\033k" $2 "\033\\" }' "$1"
+
+mutt -F ~/.mutt/compose.rc -H "$1"
+rm "$1"