From 6d2194d0ba507ad0b9c0124c15a0b919f76e1768 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Tue, 10 Jan 2023 05:55:47 +0000 Subject: [PATCH] Update 3 files - /home/.chezmoiscripts/_universal/run_onchange_before_9-ensure-node-version.tmpl - /home/.chezmoiscripts/_universal/run_onchange_before_5-install-homebrew.tmpl - /home/.chezmoiscripts/_universal/run_onchange_before_8-install-zx.tmpl --- .../_universal/run_onchange_before_5-install-homebrew.tmpl | 3 ++- .../_universal/run_onchange_before_8-install-zx.tmpl | 2 +- .../run_onchange_before_9-ensure-node-version.tmpl | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) 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 -}}