summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/compiler4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/compiler b/.local/bin/compiler
index ac3b845..1892d5f 100755
--- a/.local/bin/compiler
+++ b/.local/bin/compiler
@@ -32,9 +32,9 @@ case "$ext" in
go) go run "$file" ;;
h) sudo make install ;;
m) octave "$file" ;;
- md) if [ -x "$(command -v lowdown)" ] >/dev/null; then
+ md) if [ -x "$(command -v lowdown)" ]; then
lowdown -d nointem -e super "$file" -Tms | groff -mpdfmark -ms -kept > "$base".pdf
- elif [ -x "$(command -v groffdown)" ] >/dev/null; then
+ elif [ -x "$(command -v groffdown)" ]; then
groffdown -i "$file" | groff > "$base.pdf"
else
pandoc "$file" --pdf-engine=xelatex -o "$base".pdf