1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00
dotfiles/neomutt/.local/bin/openfile
2020-02-18 12:34:32 +01:00

6 lines
161 B
Bash
Executable File

#!/bin/sh
# Helps open a file with xdg-open from mutt in a external program without weird side effects.
opener="setsid xdg-open"
$opener "$1" >/dev/null 2>&1 &