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

5 lines
168 B
Plaintext
Raw Normal View History

2020-02-22 19:40:41 +00:00
#!/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 &