diff options
| author | 2026-05-13 13:43:16 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:16 +0100 | |
| commit | d7cca9eca321a7986605c2842cf23cef18727452 (patch) | |
| tree | 82f5a4f4b016301115291a59cc23880c8c3d8006 /.chezmoi.toml.tmpl | |
| parent | 98b1616a48c2dbea2af01fa7acfa6cdc3bfa9f1f (diff) | |
| download | dotfiles-d7cca9eca321a7986605c2842cf23cef18727452.tar.gz dotfiles-d7cca9eca321a7986605c2842cf23cef18727452.tar.bz2 dotfiles-d7cca9eca321a7986605c2842cf23cef18727452.zip | |
feat(chezmoi): persist sourceDir so bare chezmoi commands work
Adds sourceDir = .chezmoi.sourceDir to the tracked config template.
After 'just init' (or 'chezmoi init --force -S .') regenerates the
per-machine config, 'chezmoi apply' etc. no longer need '-S .'.
Diffstat (limited to '.chezmoi.toml.tmpl')
| -rw-r--r-- | .chezmoi.toml.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl index fd0879b..f41c11a 100644 --- a/.chezmoi.toml.tmpl +++ b/.chezmoi.toml.tmpl @@ -1,3 +1,5 @@ +sourceDir = {{ .chezmoi.sourceDir | quote }} + [status] exclude = ["scripts"] |
