summaryrefslogtreecommitdiff
path: root/ar/.local/bin/texclear
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-03-09 22:03:28 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-03-09 22:03:28 +0900
commit1853f713625558299d5e8982b9d2a8d0ff2dbc8d (patch)
treec089596b8c5052dd827c39813572b635c76d89f2 /ar/.local/bin/texclear
parent56df043d5906aac93e4345528c5f9a6541f5b14e (diff)
updates
Diffstat (limited to 'ar/.local/bin/texclear')
-rwxr-xr-xar/.local/bin/texclear8
1 files changed, 0 insertions, 8 deletions
diff --git a/ar/.local/bin/texclear b/ar/.local/bin/texclear
deleted file mode 100755
index 58f4439..0000000
--- a/ar/.local/bin/texclear
+++ /dev/null
@@ -1,8 +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.
-
-[ "${1##*.}" = "tex" ] && {
- find "$(dirname "${1}")" -regex '.*\(_minted.*\|.*\.\(4tc\|xref\|tmp\|pyc\|pyg\|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 "Provide a .tex file.\n"