control EZA profix from cli/env

This commit is contained in:
Lockszmith (VAST@MacBook) 2025-05-06 12:17:11 -04:00
parent 3779143bb6
commit 676b09dda2
1 changed files with 1 additions and 1 deletions

View File

@ -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 -}}