dotfiles/.config/yadm/hooks/pre_pull

6 lines
92 B
Bash

#!/bin/sh
if [ -d "$HOME/.yadm-project" ]; then
cd $HOME/.yadm-project
git pull
fi