diff options
| author | EuAndreh <eu@euandre.org> | 2022-05-12 00:46:38 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2022-05-12 00:46:38 -0300 |
| commit | ce7057bbcf15b7756607a2ffd69342d23a444001 (patch) | |
| tree | ff2974bbef17f1588aba3ab3eebb3a360c66cbc0 | |
| parent | .local/bin/msg: Play sound by default (diff) | |
| download | dotfiles-ce7057bbcf15b7756607a2ffd69342d23a444001.tar.gz dotfiles-ce7057bbcf15b7756607a2ffd69342d23a444001.tar.xz | |
.local/bin/msg: Use `email` command over `mail`
| -rwxr-xr-x | .local/bin/msg | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/.local/bin/msg b/.local/bin/msg index e3509989..ff672314 100755 --- a/.local/bin/msg +++ b/.local/bin/msg @@ -58,11 +58,7 @@ while getopts 'X:sS:m:D:bh' flag; do ACTION_DONE=true ;; m) - echo "" | mail \ - -a 'Content-Type: text/plain; charset=UTF-8' \ - -a 'From:bot@euandre.org' \ - -s "$OPTARG" \ - eu@euandre.org ||: + echo "" | email -s "$OPTARG" eu@euandre.org ACTION_DONE=true ;; D) |
