diff --git a/.local/bin/opout b/.local/bin/opout index c86ae68..28af763 100755 --- a/.local/bin/opout +++ b/.local/bin/opout @@ -7,7 +7,7 @@ basename="$(echo "$1" | sed 's/\.[^\/.]*$//')" case "$1" in - *.tex|*.md|*.[rR]md|*.ms|*.me|*.mom|*.[0-9]) setsid xdg-open "$basename".pdf >/dev/null 2>&1 & ;; + *.tex|*.m[dse]|*.[rR]md|*.mom|*.[0-9]) setsid xdg-open "$basename".pdf >/dev/null 2>&1 & ;; *.html) setsid "$BROWSER" "$basename".html >/dev/null 2>&1 & ;; *.sent) setsid sent "$1" >/dev/null 2>&1 & ;; esac