dotfiles

My dotfiles used for LARBS
Log | Files | Refs | README | LICENSE

commit 77cd1bcd441731deb8b31925b30cb0faf56926f5
parent 9db56f5c24ccd9fa08e1c7742d7d71ba7bcafd23
Author: Bryan Jenks <bryanjenks@protonmail.com>
Date:   Wed, 25 Mar 2020 06:53:23 -0700

regex for less character bloat (#514)


Diffstat:
M.local/bin/opout | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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