projects
/
grml-etc-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zshrc: support systems without capacity file in batterylinux() [Closes: issue1333]
[grml-etc-core.git]
/
usr_share_grml
/
zsh
/
functions
/
purge
diff --git
a/usr_share_grml/zsh/functions/purge
b/usr_share_grml/zsh/functions/purge
index
0a05e16
..
fab7fcd
100644
(file)
--- a/
usr_share_grml/zsh/functions/purge
+++ b/
usr_share_grml/zsh/functions/purge
@@
-7,7
+7,7
@@
local -a -U FILES
[[ -d "$1" ]] && { TRAPEXIT() { popd -q } && pushd -q "$1" }
[[ -d "$1" ]] && { TRAPEXIT() { popd -q } && pushd -q "$1" }
-TEXTEMPFILES=(*.tex(N-.:s/%tex/'(log|toc|aux|nav|snm|out|tex.backup|bbl|blg|bib.backup|vrb|lof|lot|hd|idx|fdb_latexmk)(.N)'/))
+TEXTEMPFILES=(*.tex(N-.:s/%tex/'(log|toc|aux|nav|snm|out|tex.backup|bbl|blg|bib.backup|vrb|lof|lot|hd|idx|fdb_latexmk
|fls|glo|ilg|ind|synctex.gz
)(.N)'/))
GHCTEMPFILES=(*.(hs|lhs)(N-.:r:s/%/'.(hi|hc|(p|u|s)_(o|hi))(.N)'/))
GHCTEMPFILES=(*.(hs|lhs)(N-.:r:s/%/'.(hi|hc|(p|u|s)_(o|hi))(.N)'/))
@@
-21,8
+21,10
@@
FILES=(
*~(.N)
\#*\#(.N)
*.o(.N)
*~(.N)
\#*\#(.N)
*.o(.N)
+ *.d(.N)
+ *.d.<->(.N)
a.out(.N)
a.out(.N)
- (*.|)core(.N)
+ (*.|)core(
|.<->)(
.N)
*.cmo(.N)
*.cmi(.N)
.*.swp(.N)
*.cmo(.N)
*.cmi(.N)
.*.swp(.N)