Add ~/.nixos and ~/.emacs to sync'd directories

This commit is contained in:
Evie Litherland-Smith 2024-01-14 13:00:54 +00:00
parent 31321e5dad
commit d15720a3d4

View file

@ -227,7 +227,7 @@
historySubstringSearch.enable = true;
initExtra = ''
git-sync-all () {
for DIRECTORY in $HOME/.password-store $HOME/.elfeed $HOME/Documents/Org $HOME/Documents/References; do
for DIRECTORY in $HOME/.nixos $HOME/.emacs $HOME/.password-store $HOME/.elfeed $HOME/Documents/Org $HOME/Documents/References; do
echo "--- $DIRECTORY ---"
cd $DIRECTORY && git-sync || echo "git-sync failed for $DIRECTORY"
done