Added ls alternatives
This commit is contained in:
parent
8639a85a3f
commit
cd272d717b
|
@ -65,6 +65,17 @@
|
||||||
"refreshPeriod" $defaultRefresh
|
"refreshPeriod" $defaultRefresh
|
||||||
) -}}{{- end -}}{{- end -}}{{- end -}}
|
) -}}{{- end -}}{{- end -}}{{- end -}}
|
||||||
|
|
||||||
|
{{- with $app_name := "lsd" -}}
|
||||||
|
{{- with $repo := (printf "%s/%s" "lsd-rs" $app_name) -}}
|
||||||
|
{{- with $version := (gitHubLatestRelease $repo).GetTagName -}}
|
||||||
|
{{- $_ := set $externals (printf ".local/bin/%s" $app_name) (dict
|
||||||
|
"type" "archive-file"
|
||||||
|
"url" (printf "https://github.com/%s/releases/download/%s/%s-%s-%s.tar.gz" $repo $version $app_name $version $myArch)
|
||||||
|
"path" (printf "%s-%s-%s/%s" $app_name $version $myArch $app_name)
|
||||||
|
"executable" true
|
||||||
|
"refreshPeriod" $defaultRefresh
|
||||||
|
) -}}{{- end -}}{{- end -}}{{- end -}}
|
||||||
|
|
||||||
{{- if (eq .chezmoi.os "linux") -}}
|
{{- if (eq .chezmoi.os "linux") -}}
|
||||||
{{- with $app_name := "vivid" -}}
|
{{- with $app_name := "vivid" -}}
|
||||||
{{- with $repo := (printf "%s/%s" "sharkdp" $app_name) -}}
|
{{- with $repo := (printf "%s/%s" "sharkdp" $app_name) -}}
|
||||||
|
@ -75,7 +86,19 @@
|
||||||
"path" (printf "%s-%s-%s/%s" $app_name $version $myArch $app_name)
|
"path" (printf "%s-%s-%s/%s" $app_name $version $myArch $app_name)
|
||||||
"executable" true
|
"executable" true
|
||||||
"refreshPeriod" $defaultRefresh
|
"refreshPeriod" $defaultRefresh
|
||||||
) -}}{{- end -}}{{- end -}}{{- end -}}{{- end -}}
|
) -}}{{- end -}}{{- end -}}{{- end -}}
|
||||||
|
|
||||||
|
{{- with $app_name := "eza" -}}
|
||||||
|
{{- with $repo := (printf "%s/%s" "eza-community" $app_name) -}}
|
||||||
|
{{- with $version := (gitHubLatestRelease $repo).GetTagName -}}
|
||||||
|
{{- $_ := set $externals (printf ".local/bin/%s" $app_name) (dict
|
||||||
|
"type" "archive-file"
|
||||||
|
"url" (printf "https://github.com/%s/releases/download/%s/%s-%s-%s.tar.gz" $repo $version $app_name $version $myArch)
|
||||||
|
"path" (printf "%s-%s-%s/%s" $app_name $version $myArch $app_name)
|
||||||
|
"executable" true
|
||||||
|
"refreshPeriod" $defaultRefresh
|
||||||
|
) -}}{{- end -}}{{- end -}}{{- end -}}
|
||||||
|
{{- end -}}{{/* if linux */}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
# valid arch strings:
|
# valid arch strings:
|
||||||
|
|
Loading…
Reference in New Issue