texclear added

This commit is contained in:
Luke Smith 2018-07-14 22:30:01 -04:00
parent 202893c879
commit 72d75c764c

6
.scripts/texclear Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
# Clears the build files of a LaTeX/XeLaTeX build.
# I have vim run this file whenever I exit a .tex file.
find . -maxdepth 1 -regextype gnu-awk -regex "^.*\.(4tc|xref|tmp|pyc|pyo|fls|vrb|fdb_latexmk|bak|swp|aux|log|synctex\(busy\)|lof|nav|out|snm|toc|bcf|run\.xml|synctex\.gz|blg|bbl)" -delete