summaryrefslogtreecommitdiff
path: root/update-subtrees.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'update-subtrees.zsh')
-rw-r--r--update-subtrees.zsh10
1 files changed, 10 insertions, 0 deletions
diff --git a/update-subtrees.zsh b/update-subtrees.zsh
new file mode 100644
index 0000000..ead932f
--- /dev/null
+++ b/update-subtrees.zsh
@@ -0,0 +1,10 @@
+#!/bin/zsh
+
+subtrees=(
+ dot_local/share/toasty st:toasty-zsh
+)
+
+for key val in ${(kv)subtrees}
+do
+ chezmoi source -- subtree pull -P $key $val master --squash
+done