From 4403a73e1de25b09691f8f30ea0d6ad784f85f8b Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 4 Feb 2015 17:11:03 +0800 Subject: Updated mutt configuration files. * Added compose.rc, compose.sh, updated muttrc; to support compose mail in new tmux window * Added mutt_bgrun.sh, updated mailcap; to view attachment without blocking mutt * deleted zh * updated colors --- .mutt/compose.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 .mutt/compose.sh (limited to '.mutt/compose.sh') 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" -- cgit v1.2.2