summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorsimohamed <contact.simohamed@gmail.com>2020-04-21 21:53:57 +0000
committerGitHub <noreply@github.com>2020-04-21 17:53:57 -0400
commit2c02c85aae3f0ade67d26d7e87c0c57c10b591cd (patch)
tree5b9fee8b0db1e43d4ab6df06523cd79d18696d37 /.local
parent1669b3c2b95dc7143f84470ca8dd5bb35283821a (diff)
downloadeibhear-2c02c85aae3f0ade67d26d7e87c0c57c10b591cd.tar.gz
eibhear-2c02c85aae3f0ade67d26d7e87c0c57c10b591cd.tar.zst
eibhear-2c02c85aae3f0ade67d26d7e87c0c57c10b591cd.zip
remove unneeded require (#587)
`library::` is all you need to load a library before using one of its functions.
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/compiler2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/compiler b/.local/bin/compiler
index fd812b5..0f693d2 100755
--- a/.local/bin/compiler
+++ b/.local/bin/compiler
@@ -26,7 +26,7 @@ case "$file" in
*\.ms) refer -PS -e "$file" | groff -me -ms -kept -T pdf > "$base".pdf ;;
*\.mom) refer -PS -e "$file" | groff -mom -kept -T pdf > "$base".pdf ;;
*\.[0-9]) refer -PS -e "$file" | groff -mandoc -T pdf > "$base".pdf ;;
- *\.[rR]md) Rscript -e "require(rmarkdown); rmarkdown::render('$file', quiet=TRUE)" ;;
+ *\.[rR]md) Rscript -e "rmarkdown::render('$file', quiet=TRUE)" ;;
*\.tex) textype "$file" ;;
*\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;;
*config.h) sudo make install ;;