feat(mise): Add toolbox name header in generated conf.d files
Addresses PR feedback: each conf.d/<toolbox>.toml now starts with a "# Toolbox: <name>" comment, matching the previous inline config.toml layout. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GA4dAzARMnLz1G9AmQkYYn
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
{{/* Expects data: (merge (dict "toolboxName" "<name>") .) */}}
|
{{/* Expects data: (merge (dict "toolboxName" "<name>") .) */}}
|
||||||
{{- $toolboxName := .toolboxName -}}
|
{{- $toolboxName := .toolboxName -}}
|
||||||
{{ includeTemplate "chezmoi-managed-header" . }}
|
{{ includeTemplate "chezmoi-managed-header" . }}
|
||||||
|
# Toolbox: {{ $toolboxName }}
|
||||||
|
|
||||||
[tools]
|
[tools]
|
||||||
{{- $toolsList := index .tools.toolboxes $toolboxName }}
|
{{- $toolsList := index .tools.toolboxes $toolboxName }}
|
||||||
{{- range $tool := $toolsList }}
|
{{- range $tool := $toolsList }}
|
||||||
|
|||||||
Reference in New Issue
Block a user