diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-10-06 17:31:55 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-10-06 17:32:32 +0200 |
| commit | f0724869c591d3e316b143b108d9f6a6c4a17989 (patch) | |
| tree | 5aa2c86671c5308ca83f954a90863396657eaef2 /bin/mailto | |
| parent | 53076b1979ce2cea5dbbfdf8105e18b992fe4ce6 (diff) | |
| download | dotfiles-f0724869c591d3e316b143b108d9f6a6c4a17989.tar.gz dotfiles-f0724869c591d3e316b143b108d9f6a6c4a17989.zip | |
add simple helper script to edit files and compose mails
Diffstat (limited to 'bin/mailto')
| -rwxr-xr-x | bin/mailto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/mailto b/bin/mailto new file mode 100755 index 0000000..9380ee9 --- /dev/null +++ b/bin/mailto @@ -0,0 +1,9 @@ +#!/bin/sh + +MAIL=aerc + +if pgrep "$MAIL" > /dev/null; then + "$MAIL" "$@" +else + "$TERMINAL" -e "$MAIL" "$@" +fi |
