summaryrefslogtreecommitdiff
path: root/bin/openfile
diff options
context:
space:
mode:
Diffstat (limited to 'bin/openfile')
-rwxr-xr-xbin/openfile1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/openfile b/bin/openfile
index fdc0e5f..19cb077 100755
--- a/bin/openfile
+++ b/bin/openfile
@@ -1,6 +1,5 @@
#!/bin/sh
# Helps open a file with xdg-open from mutt in a external program without weird side effects.
-
base=$(basename "$1")
ext="${base##*.}"
file=$(mktemp -u --suffix=".$ext")