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