From ad894d123624e5649e3cd93adf99b559770d6e0c Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 14 Jan 2024 13:05:48 +0000 Subject: [PATCH] git-sync-all ensure directory exists --- home/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/default.nix b/home/default.nix index b8bfb0de..bb53ff87 100644 --- a/home/default.nix +++ b/home/default.nix @@ -229,6 +229,7 @@ git-sync-all () { 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-sync cd - done