From 20e78c7e2e20ac7c7a524c274b926ad874a38127 Mon Sep 17 00:00:00 2001 From: Robert Perce Date: Mon, 30 Mar 2026 23:52:26 -0500 Subject: [PATCH 1/2] dont crash when no .chezmoi.osRelease --- .chezmoiignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chezmoiignore b/.chezmoiignore index 7ad9e2d..1b2b0d3 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -13,7 +13,7 @@ README.md .local/share/nwg-look {{- end }} -{{- if eq .chezmoi.osRelease.id "arch" | not }} +{{- if and (index "osRelease" .chezmoi) (eq .chezmoi.osRelease.id "arch") | not }} bin/quickaur {{- end }} From 1d29a597c042022a11c3197a341fa140b8e5a32f Mon Sep 17 00:00:00 2001 From: Robert Perce Date: Tue, 31 Mar 2026 00:15:51 -0500 Subject: [PATCH 2/2] ignore tweaks --- .chezmoiignore | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.chezmoiignore b/.chezmoiignore index 1b2b0d3..4adf97f 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -5,7 +5,7 @@ README.md {{- if has "desktop" .class | not }} .config/alacritty -.Xcompose +.XCompose {{- end }} {{- if has "wayland" .class | not }} @@ -13,11 +13,11 @@ README.md .local/share/nwg-look {{- end }} -{{- if and (index "osRelease" .chezmoi) (eq .chezmoi.osRelease.id "arch") | not }} +{{- if or (.chezmoi.osRelease | not) (eq .chezmoi.osRelease.id "arch" | not) }} bin/quickaur {{- end }} -{{- if eq .chezmoi.osRelease.id "ubuntu" | not }} +{{- if or (empty .chezmoi.osRelease) (eq .chezmoi.osRelease.id "ubuntu" | not) }} .config/mgmt/mod/unmanaged_packages.bash .config/mgmt/fns/bin_from.bash .config/mgmt/fns/current.bash