From cdef7b6489400222a39c326448653fbc355a0549 Mon Sep 17 00:00:00 2001 From: Bryan Jenks Date: Tue, 14 Jan 2020 09:00:47 -0800 Subject: [PATCH] error with Rmd pdf file working with opout casing is sensitive on the rmd/Rmd files, without the uppercase option opout was not functioning for me on default LARBS with thinkpad x220. tested on home system and verified that functionality as intended is achieved with the `*.Rmd` option is added to the case statement --- .local/bin/opout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/opout b/.local/bin/opout index d5d8dffb..f391b99b 100755 --- a/.local/bin/opout +++ b/.local/bin/opout @@ -7,7 +7,7 @@ basename="$(echo "$1" | sed 's/\.[^\/.]*$//')" case "$1" in - *.tex|*.md|*.rmd|*.ms|*.me|*.mom) setsid "$READER" "$basename".pdf >/dev/null 2>&1 & ;; + *.tex|*.md|*.Rmd|*.rmd|*.ms|*.me|*.mom) setsid "$READER" "$basename".pdf >/dev/null 2>&1 & ;; *.[0-9]) setsid "$READER" "$basename".pdf >/dev/null 2>&1 & ;; *.html) setsid $BROWSER "$basename".html >/dev/null 2>&1 & ;; *.sent) setsid sent "$1" >/dev/null 2>&1 & ;;