zconfig/githooks/pre-commit

12 lines
174 B
Text
Raw Normal View History

2020-04-29 12:54:10 +02:00
#!/usr/bin/env zsh
if [ "$(basename $(realpath $PWD))" = ".git" ]; then
cd ..
fi
for updater in ./update_*.sh; do
${updater}
done
# vim: set ft=sh et sw=0 ts=2 sts=0: