regex for less character bloat (#514)
This commit is contained in:
parent
9db56f5c24
commit
77cd1bcd44
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
basename="$(echo "$1" | sed 's/\.[^\/.]*$//')"
|
basename="$(echo "$1" | sed 's/\.[^\/.]*$//')"
|
||||||
|
|
||||||
case "$1" in
|
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 & ;;
|
*.html) setsid "$BROWSER" "$basename".html >/dev/null 2>&1 & ;;
|
||||||
*.sent) setsid sent "$1" >/dev/null 2>&1 & ;;
|
*.sent) setsid sent "$1" >/dev/null 2>&1 & ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue