diff --git a/home/.chezmoiscripts/_universal/run_onchange_before_5-install-homebrew.tmpl b/home/.chezmoiscripts/_universal/run_onchange_before_5-install-homebrew.tmpl index 637f924a..d4ee5c64 100644 --- a/home/.chezmoiscripts/_universal/run_onchange_before_5-install-homebrew.tmpl +++ b/home/.chezmoiscripts/_universal/run_onchange_before_5-install-homebrew.tmpl @@ -1,5 +1,6 @@ +{{- if (ne .host.distro.family "windows") -}} #!/usr/bin/env bash -{{- if (ne .host.distro.family "windows") }} + {{ includeTemplate "universal/profile" }} {{ includeTemplate "universal/logg" }} diff --git a/home/.chezmoiscripts/_universal/run_onchange_before_8-install-zx.tmpl b/home/.chezmoiscripts/_universal/run_onchange_before_8-install-zx.tmpl index 4212dc85..5dff9293 100644 --- a/home/.chezmoiscripts/_universal/run_onchange_before_8-install-zx.tmpl +++ b/home/.chezmoiscripts/_universal/run_onchange_before_8-install-zx.tmpl @@ -1,5 +1,5 @@ +{{- if (ne .host.distro.family "windows") -}} #!/usr/bin/env bash -{{- if (ne .host.distro.family "windows") }} {{ includeTemplate "universal/profile" }} {{ includeTemplate "universal/logg" }} diff --git a/home/.chezmoiscripts/_universal/run_onchange_before_9-ensure-node-version.tmpl b/home/.chezmoiscripts/_universal/run_onchange_before_9-ensure-node-version.tmpl index a6e1989a..b1f71f0c 100644 --- a/home/.chezmoiscripts/_universal/run_onchange_before_9-ensure-node-version.tmpl +++ b/home/.chezmoiscripts/_universal/run_onchange_before_9-ensure-node-version.tmpl @@ -1,5 +1,5 @@ +{{- if (ne .host.distro.family "windows") -}} #!/usr/bin/env bash -{{- if (ne .host.distro.family "windows") }} # Node.js version: {{ output "node" "--version" }} @@ -17,4 +17,5 @@ if command -v volta > /dev/null; then else logg warn 'Volta is not installed - skipping logic that ensures Node.js meets the version requirement of >15' fi -{{ end -}} \ No newline at end of file + +{{ end -}}