From a0bb023d782dd2d8703670d560b5ccd8d25d640e Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 4 Nov 2021 12:25:04 +0300 Subject: bins: shfmt, weasel suite, spark --- .local/bin/texclear | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.local/bin/texclear') diff --git a/.local/bin/texclear b/.local/bin/texclear index 9a32d70..1fb280a 100755 --- a/.local/bin/texclear +++ b/.local/bin/texclear @@ -8,7 +8,7 @@ case "$1" in 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" ;; + 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.2.3-70-g09d2