summaryrefslogtreecommitdiff
path: root/bin/openfile
diff options
context:
space:
mode:
Diffstat (limited to 'bin/openfile')
-rwxr-xr-xbin/openfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/openfile b/bin/openfile
index b16483b..c0e2e9c 100755
--- a/bin/openfile
+++ b/bin/openfile
@@ -1,4 +1,5 @@
-#!/usr/bin/env sh
+#!/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"
mkdir -p "/tmp/$USER-mutt-tmp"