nixos/home/scripts/git-sync-all.sh

12 lines
264 B
Bash
Raw Normal View History

2024-02-05 09:51:38 +00:00
#!/usr/bin/env bash
git -C "$HOME/.emacs/" pull --ff-only
for DIRECTORY in $HOME/.password-store $HOME/.elfeed $HOME/Documents/Org $HOME/Documents/References; do
echo "--- $DIRECTORY ---"
(
cd "$DIRECTORY" || exit
git-sync -ns
)
done