summaryrefslogtreecommitdiff
path: root/zshfunc
diff options
context:
space:
mode:
Diffstat (limited to 'zshfunc')
-rwxr-xr-xzshfunc/update-lit8
1 files changed, 7 insertions, 1 deletions
diff --git a/zshfunc/update-lit b/zshfunc/update-lit
index b596074..92b04a4 100755
--- a/zshfunc/update-lit
+++ b/zshfunc/update-lit
@@ -1,5 +1,11 @@
## vim:ft=zsh:foldmethod=marker
(
-cd ~/projects/uni/lit && (cd bibtex && git pull) && (cd papers && git pull)
+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
+done
)