12 lines
200 B
Bash
Executable File
12 lines
200 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Helps open an HTML file from mutt in a GUI browser without weird side effects.
|
|
|
|
file=$(mktemp -u --suffix=.html)
|
|
|
|
rm -f "$file"
|
|
|
|
cp "$1" "$file"
|
|
|
|
setsid firefox "$file" >/dev/null 2>&1 &
|