summaryrefslogtreecommitdiff
path: root/update-subtrees.zsh
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toast.cafe>2020-02-14 19:19:30 -0500
committerChloe Kudryavtsev <toast@toast.cafe>2020-02-14 19:19:30 -0500
commit5fef9330f176acd7bf73a292abe48557de39123d (patch)
treeaa9448d71270844fc14b9acc47cd986a5007eabf /update-subtrees.zsh
parentMerge commit '858a4a31a251d0eab21dffb96776aca007dafb07' as 'dot_local/share/t... (diff)
subtrees: init maintenance script
Diffstat (limited to '')
-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