Manage zsh, kitty, and starship configs across Fedora/Gentoo. sysup() is Fedora-only via template conditional. Deno completions generated via run_once_after script. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
274 B
Cheetah
11 lines
274 B
Cheetah
{{- $distro := "" -}}
|
|
{{- if stat "/etc/os-release" -}}
|
|
{{- range (split "\n" (include "/etc/os-release")) -}}
|
|
{{- if hasPrefix "ID=" . -}}
|
|
{{- $distro = trimPrefix "ID=" . -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
[data]
|
|
distro = {{ $distro | quote }}
|