texclean: Fix missing full path
parent
c48a7f2591
commit
04d61124ea
|
@ -138,14 +138,14 @@ mime ^video, terminal, !X, has mplayer = mplayer -- "$@"
|
|||
#-------------------------------------------
|
||||
# Image Viewing:
|
||||
#-------------------------------------------
|
||||
mime ^image, has sxiv, X, flag f = sxiv -fs -- "$@"
|
||||
mime ^image, has sxiv, X, flag f = sxiv -f -- "$@"
|
||||
mime ^image, has feh, X, flag f = feh -- "$@"
|
||||
mime ^image, has mirage, X, flag f = mirage -- "$@"
|
||||
mime ^image, has eog, X, flag f = eog -- "$@"
|
||||
mime ^image, has gimp, X, flag f = gimp -- "$@"
|
||||
ext xcf, X, flag f = gimp -- "$@"
|
||||
|
||||
ext tga, X, flag f = sxiv -fs -- "$@"
|
||||
ext tga, X, flag f = sxiv -f -- "$@"
|
||||
ext svg, has dwb, X, flag f = dwb -- "$@"
|
||||
ext svg, has inkscape X, flag f = inkscape -- "$@"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/sh -x
|
||||
|
||||
if [ $# -eq 0 ] || [ "$1" = "-h" ]; then
|
||||
cat <<EOF
|
||||
|
@ -20,10 +20,10 @@ for i ; do
|
|||
FILE_NOEXT="${FILE##*/}"
|
||||
FILE_NOEXT="${FILE_NOEXT%.*}"
|
||||
FILE_PATH="${FILE%/*}"
|
||||
rm -v "@@@" $(for j in \
|
||||
rm -v $(for j in \
|
||||
aux bbl blg cp cps fn glg glo gls idx ilg ind ky lof log maf mt mtc nav out pg snm synctex.gz synctex tns toc tp vr vrs xdy
|
||||
do
|
||||
echo "$FILE_NOEXT.$j"
|
||||
echo "$FILE_PATH/$FILE_NOEXT.$j"
|
||||
done) 2>/dev/null
|
||||
done <<EOF
|
||||
$(find "$i" -type f \( -name "*.tex" -o -name "*.texi" \) )
|
||||
|
|
Loading…
Reference in New Issue