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

6 lines
161 B
Plaintext
Raw Normal View History

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