summaryrefslogtreecommitdiff
path: root/zshfunc/update-lit
blob: 97636fab86498e62009c21128cd6f893fa84cee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
## vim:ft=zsh:foldmethod=marker

(
local f
local b=~/projects/uni/lit

(cd "$b" && (cd bibtex && git pull) && (cd papers && git pull))
for f in weasel.bib names-long.bib names-short.bib; do
  if [ -e "$f" ] ; then cp "$b/bibtex/$f" .; fi
  if [ -e "bibs/$f" ] ; then cp "$b/bibtex/$f" bibs; fi
done
)