From 676b09dda280bc6323e3c15690e3ba432e0f356c Mon Sep 17 00:00:00 2001 From: "Lockszmith (VAST@MacBook)" Date: Tue, 6 May 2025 12:17:11 -0400 Subject: [PATCH] control EZA profix from cli/env --- chezmoi.roots/_home/.chezmoiexternal.yaml.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chezmoi.roots/_home/.chezmoiexternal.yaml.tmpl b/chezmoi.roots/_home/.chezmoiexternal.yaml.tmpl index b7ca919..9e016be 100644 --- a/chezmoi.roots/_home/.chezmoiexternal.yaml.tmpl +++ b/chezmoi.roots/_home/.chezmoiexternal.yaml.tmpl @@ -358,7 +358,7 @@ {{/* cargo-binstall besed sources */}} {{- if and (lookPath "jq") (lookPath "cargo-binstall") -}} -{{- $path_prefix = or (get (dict "linux" "./") .chezmoi.os) "" -}} +{{- $path_prefix = (env "CZ_EZA_PREFIX") -}} {{- with $app_name := "eza" -}} {{- with $repo := (printf "%s/%s" "eza-community" $app_name) -}} {{- with $version := trimPrefix "v" (gitHubLatestRelease $repo).GetTagName -}}