echo "Trashed $@"
}
+function trashlatex () {
+ TRASH=$(date +/tmp/trash-latex-${USER}-%Y-%b-%d-%Hh)
+ LINK=/tmp/trash
+
+ mkdir -p ${TRASH}
+
+ [[ -h ${LINK} ]] && \rm ${LINK}
+
+ [[ ! -f ${LINK} ]] && ln -s ${TRASH} ${LINK}
+
+ mv -v \
+ *.log *.pdf *.aux *.nav *.pdfpc *.snm *.toc *.out \
+ *.bbl *.blg \
+ *.*.table *.*.gnuplot \
+ ${TRASH}
+}
+
######################################################################
## A version of pho which stores the image numbers in environment
## variables