aboutsummaryrefslogtreecommitdiffstats
path: root/.mutt/compose.sh
blob: 9172421baf568dc3560ba80820d461c8a2a9f896 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"