summaryrefslogtreecommitdiff
path: root/bin/openfile
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-16 13:52:37 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-16 13:52:37 -0400
commitb911eba455e3b5b913ec7ea9e51e02200060e5b9 (patch)
tree9f08dd2f1fec585c1855fe576f063c3ae5bcafce /bin/openfile
parentda9a2063fde179a9907b1408bd1cc95062992d5f (diff)
even comments are bloat
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")