From f4c1171af44554a02381ac7534341f94644b0d94 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 25 May 2021 13:48:31 +0200 Subject: Add mailto-mutt Signed-off-by: Florian Pritz --- mailto-mutt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 mailto-mutt (limited to 'mailto-mutt') diff --git a/mailto-mutt b/mailto-mutt new file mode 100755 index 0000000..fd53434 --- /dev/null +++ b/mailto-mutt @@ -0,0 +1,6 @@ +#!/bin/bash + +# support spaces after "mailto:" even if they are probably wrong +mailto=$(printf "%s" "$1" | sed -r 's#^mailto:\s*#mailto:#') + +term-open mutt "$mailto" -- cgit v1.2.3-24-g4f1b