diff options
author | Luke Smith <luke@lukesmith.xyz> | 2020-02-09 09:03:10 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2020-02-09 09:03:10 -0500 |
commit | d8f57b57f6e4f7d07969a26775686b45b0e2b565 (patch) | |
tree | b6476993c24b55ca2a884995bc35460def926c3b /bin/openfile | |
parent | 4cb726546f679bdbab95a7e81937fe6d278578c0 (diff) |
muttimage replaced by openfile
Diffstat (limited to 'bin/openfile')
-rwxr-xr-x | bin/openfile | 3 |
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" |