Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dot_local/bin/executable_dots-setup
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,10 @@ excl_toml="${excl_toml%", "}]"

_flag() { [[ -n "${enabled_cats[$1]:-}" ]] && echo true || echo false; }

# Only init records .chezmoi.toml.tmpl's hash; without it chezmoi warns "config file
# template has changed" forever. init writes the all-off defaults, overwritten just below.
chezmoi init || echo "warning: chezmoi init failed; the template warning may persist" >&2

cat > "$CHEZMOI_CONFIG" <<TOML
[data]
profile = "$profile"
Expand Down
Loading