From c6e69e96421ebf192eb6de537324e269e7bfda78 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 19 May 2019 20:05:14 -0400 Subject: massive cleanup --- .local/bin/tools/texclear | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100755 .local/bin/tools/texclear (limited to '.local/bin/tools/texclear') diff --git a/.local/bin/tools/texclear b/.local/bin/tools/texclear deleted file mode 100755 index f6a5062..0000000 --- a/.local/bin/tools/texclear +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Clears the build files of a LaTeX/XeLaTeX build. -# I have vim run this file whenever I exit a .tex file. - -case "$1" in - *.tex) - file=$(readlink -f "$1") - dir=$(dirname "$file") - base="${file%.*}" - find "$dir" -maxdepth 1 -type f -regextype gnu-awk -regex "^$base\\.(4tc|xref|tmp|pyc|pyo|fls|vrb|fdb_latexmk|bak|swp|aux|log|synctex\\(busy\\)|lof|lot|maf|idx|mtc|mtc0|nav|out|snm|toc|bcf|run\\.xml|synctex\\.gz|blg|bbl)" -delete ;; - *) printf "Give .tex file as argument.\\n" ;; -esac - -- cgit v1.3.1