Add external: atuin.sh

This commit is contained in:
Lockszmith (@crater) 2025-04-07 22:08:21 +00:00
parent 43d0c4784b
commit c89d132d85
1 changed files with 12 additions and 0 deletions

View File

@ -56,6 +56,18 @@
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
{{- with $repo := "atuinsh/atuin" -}}
{{- with $version := (gitHubLatestRelease $repo).GetTagName -}}
{{- $_ := set $externals ".local/bin/atuin" (dict
"type" "archive-file"
"url" (printf "https://github.com/%s/releases/download/%s/atuin-%s.tar.gz" $repo $version $myArch)
"path" (printf "atuin-%s/atuin" $myArch)
"executable" true
"refreshPeriod" $defaultRefresh
) -}}
{{- end -}}
{{- end -}}
{{/* {{/*
# valid arch strings: # valid arch strings:
# darwin_amd64 # darwin_amd64