control EZA profix from cli/env
This commit is contained in:
parent
3779143bb6
commit
676b09dda2
|
@ -358,7 +358,7 @@
|
||||||
|
|
||||||
{{/* cargo-binstall besed sources */}}
|
{{/* cargo-binstall besed sources */}}
|
||||||
{{- if and (lookPath "jq") (lookPath "cargo-binstall") -}}
|
{{- 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 $app_name := "eza" -}}
|
||||||
{{- with $repo := (printf "%s/%s" "eza-community" $app_name) -}}
|
{{- with $repo := (printf "%s/%s" "eza-community" $app_name) -}}
|
||||||
{{- with $version := trimPrefix "v" (gitHubLatestRelease $repo).GetTagName -}}
|
{{- with $version := trimPrefix "v" (gitHubLatestRelease $repo).GetTagName -}}
|
||||||
|
|
Loading…
Reference in New Issue