JameyBear
vor 4 Jahren
committed by
GitHub
Ursprung
Commit
df7ffcaecd
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
1 geänderte Dateien mit
1 neuen und
1 gelöschten Zeilen
-
bin/openfile
|
|
@@ -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" |
|
|
|