* Simple Fixes

* Tweak wording

* Update openfile

* ShellChecked

* Little Fixes
This commit is contained in:
JameyBear
2020-05-31 12:10:35 -04:00
committed by GitHub
parent 7c41c5e1e6
commit bb72cf5a71
4 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
# Helps open a file with xdg-open from mutt in a external program without weird side effects.
[ $(uname) = "Darwin" ] && opener="open" || opener="setsid xdg-open"
[ "$(uname)" = "Darwin" ] && opener="open" || opener="setsid xdg-open"
mkdir -p "/tmp/$USER-mutt-tmp"
file="/tmp/$USER-mutt-tmp/$(basename "$1")"
rm -f "$file"