diff options
| author | Tan Long <71320000+tanloong@users.noreply.github.com> | 2022-08-25 21:41:28 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-25 13:41:28 +0000 |
| commit | 3e8c05fe3d118b8a7c2df25000a8d5d046812a50 (patch) | |
| tree | f1d524428a87f240427a851b92d05ba19b9553cd /.local/bin/opout | |
| parent | cf6e38d393a21d16068f7a77bf1c2583a626a056 (diff) | |
| download | eibhear-3e8c05fe3d118b8a7c2df25000a8d5d046812a50.tar.gz eibhear-3e8c05fe3d118b8a7c2df25000a8d5d046812a50.tar.zst eibhear-3e8c05fe3d118b8a7c2df25000a8d5d046812a50.zip | |
add support for SILE (#1175)
Diffstat (limited to '.local/bin/opout')
| -rwxr-xr-x | .local/bin/opout | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/opout b/.local/bin/opout index 8890861..d2b447a 100755 --- a/.local/bin/opout +++ b/.local/bin/opout @@ -7,7 +7,7 @@ basename="${1%.*}" case "${*}" in - *.tex|*.m[dse]|*.[rR]md|*.mom|*.[0-9]) target="$(getcomproot "$1" || echo "$1")" ; setsid -f xdg-open "${target%.*}".pdf >/dev/null 2>&1 ;; + *.tex|*.sil|*.m[dse]|*.[rR]md|*.mom|*.[0-9]) target="$(getcomproot "$1" || echo "$1")" ; setsid -f xdg-open "${target%.*}".pdf >/dev/null 2>&1 ;; *.html) setsid -f "$BROWSER" "$basename".html >/dev/null 2>&1 ;; *.sent) setsid -f sent "$1" >/dev/null 2>&1 ;; esac |
