diff options
author | Florian Pritz <bluewind@xinu.at> | 2021-05-25 13:48:31 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2021-05-25 13:54:08 +0200 |
commit | f4c1171af44554a02381ac7534341f94644b0d94 (patch) | |
tree | 55f9ebbb4b19c0c209fab53bd52858852077157b /mailto-mutt | |
parent | 24703df14ffeee92cd7ce85dbe67a9449be716ab (diff) | |
download | bin-f4c1171af44554a02381ac7534341f94644b0d94.tar.gz bin-f4c1171af44554a02381ac7534341f94644b0d94.tar.xz |
Add mailto-mutt
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'mailto-mutt')
-rwxr-xr-x | mailto-mutt | 6 |
1 files changed, 6 insertions, 0 deletions
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" |