1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00
dotfiles/private_dot_local/bin/executable_openfile

5 lines
168 B
Bash

#!/usr/bin/env 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 &