Add gitui external (and reorder a bit)

This commit is contained in:
Lockszmith (@kateryna) 2024-11-25 17:47:26 -05:00
parent 9512cb7225
commit 3b01da4041
1 changed files with 17 additions and 5 deletions

View File

@ -17,6 +17,17 @@
{{ $defaultRefresh := "168h" -}} {{ $defaultRefresh := "168h" -}}
{{- $externals := dict -}} {{- $externals := dict -}}
{{- with $repo := "zellij-org/zellij" -}}
{{- with $version := (gitHubLatestRelease $repo).GetTagName -}}
{{- $_ := set $externals ".cache/chezmoi/tmp/zellij" (dict
"type" "archive-file"
"url" (printf "https://github.com/%s/releases/download/%s/zellij-x86_64-unknown-linux-musl.tar.gz" $repo $version)
"path" "zellij"
"executable" true
"refreshPeriod" $defaultRefresh
) -}}
{{- end -}}
{{- end }}
{{- with $repo := "dandavison/delta" -}} {{- with $repo := "dandavison/delta" -}}
{{- with $version := (gitHubLatestRelease $repo).GetTagName -}} {{- with $version := (gitHubLatestRelease $repo).GetTagName -}}
@ -41,16 +52,17 @@
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
{{- with $repo := "zellij-org/zellij" -}} {{- with $repo := "extrawurst/gitui" -}}
{{- with $version := (gitHubLatestRelease $repo).GetTagName -}} {{- with $version := (gitHubLatestRelease $repo).GetTagName -}}
{{- $_ := set $externals ".cache/chezmoi/tmp/zellij" (dict {{- $_ := set $externals ".local/bin/gitui" (dict
"type" "archive" "type" "archive-file"
"url" (printf "https://github.com/%s/releases/download/%s/zellij-x86_64-unknown-linux-musl.tar.gz" $repo $version) "url" (printf "https://github.com/%s/releases/download/%s/gitui-linux-x86_64.tar.gz" $repo $version)
"path" "./gitui"
"executable" true "executable" true
"refreshPeriod" $defaultRefresh "refreshPeriod" $defaultRefresh
) -}} ) -}}
{{- end -}} {{- end -}}
{{- end -}} {{- end }}
{{- $externals | toYaml }} {{- $externals | toYaml }}
".config/sz.env/lib/ble.sh.curl": ".config/sz.env/lib/ble.sh.curl":