summaryrefslogtreecommitdiff
path: root/bin/openfile
diff options
context:
space:
mode:
authorWayne Reeves <darthwayne@hotmail.com>2019-11-27 10:57:14 -0600
committerWayne Reeves <darthwayne@hotmail.com>2019-11-27 10:57:14 -0600
commit07a4cc290dba7842b2ffc73ca86d23e3cc8f989a (patch)
treeb3725d048d8d706e7480f87a2f58c10bed859782 /bin/openfile
parent9fc9bc820d5d8d811b9b63d9f8d6f30906428f68 (diff)
parent569bda9c5fddf131a962237422326de9929c6b77 (diff)
Merge branch 'master' of https://github.com/lukesmithxyz/mutt-wizard
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"