git-sync-all: pull ff ~/.emacs.d/

This commit is contained in:
Evie Litherland-Smith 2024-07-26 09:16:16 +01:00
parent 4784f1aad5
commit 04f4173d49

View file

@ -1,8 +1,9 @@
# Clone ~/.emacs.d/ if it doesn't exist
# Clone ~/.emacs.d/ if it doesn't exist, fast-forward pull
EMACS_DIR="$HOME/.emacs.d/"
if [ ! -d "$EMACS_DIR" ]; then
git clone "https://git.xenia.me.uk/pixelifytica/emacs.git" "$EMACS_DIR"
fi
git -C "$EMACS_DIR" pull --ff --ff-only
# Sync common directories, setting url to ensure it's up-to-date first
SYNC_DIRS=(