diff options
| author | 2020-02-14 19:19:30 -0500 | |
|---|---|---|
| committer | 2020-02-14 19:19:30 -0500 | |
| commit | 5fef9330f176acd7bf73a292abe48557de39123d (patch) | |
| tree | aa9448d71270844fc14b9acc47cd986a5007eabf | |
| parent | Merge commit '858a4a31a251d0eab21dffb96776aca007dafb07' as 'dot_local/share/t... (diff) | |
subtrees: init maintenance script
Diffstat (limited to '')
| -rw-r--r-- | .chezmoiignore | 1 | ||||
| -rw-r--r-- | update-subtrees.zsh | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/.chezmoiignore b/.chezmoiignore index cbbf4c0..cc002c4 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -1 +1,2 @@ UNLICENSE +update-subtrees.zsh 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 |
