diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-11-24 07:48:33 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-11-24 07:48:33 -0500 |
commit | 938af8f7ebe8b769f0916ebdb19b146d0463409a (patch) | |
tree | 25d5e7b4125e0c08736a6724a064b54e3265a9e3 /bin/openfile | |
parent | 7698abb0f9fc236b578e3ec6caa31867de019c6e (diff) |
env bash
Diffstat (limited to 'bin/openfile')
-rwxr-xr-x | bin/openfile | 2 |
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" |