nixos/home/scripts/git-sync-all.sh
Evie Litherland-Smith b3988f8eae Switch zsh back to fish
Add extracted zsh functions to path

Remove shebang from all scripts as writeShellScriptBin handles that automatically
2024-01-15 14:20:59 +00:00

9 lines
255 B
Bash
Executable file

for DIRECTORY in $HOME/.nixos $HOME/.emacs $HOME/.password-store $HOME/.elfeed $HOME/Documents/Org $HOME/Documents/References; do
echo "--- $DIRECTORY ---"
mkdir -p $DIRECTORY
cd $DIRECTORY
git config --bool branch.main.sync true
git-sync
cd -
done