summaryrefslogtreecommitdiff
path: root/scripts/git-auto-sync.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/git-auto-sync.sh')
-rwxr-xr-xscripts/git-auto-sync.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/git-auto-sync.sh b/scripts/git-auto-sync.sh
index e51eef2..a2bd115 100755
--- a/scripts/git-auto-sync.sh
+++ b/scripts/git-auto-sync.sh
@@ -1,10 +1,8 @@
# Make sure my ssh key is loaded in ssh-agent for use when committing
-eval $(keychain --quiet --eval $HOME/.ssh/id_ed25519)
+eval "$(keychain --quiet --eval "$HOME"/.ssh/id_ed25519)"
REPOS=(
- "$HOME/personal/dairy"
- "/path/to/repo2"
- "/path/to/repo3"
+ "$HOME/personal/grimoire/"
)
COMMIT_MSG="Auto-sync: $(date +'%Y-%m-%d %H:%M:%S')"