Add pet snippet management

This commit is contained in:
Lockszmith (@VAST) 2025-03-10 16:24:24 -04:00
parent 58e921ac4c
commit 20555a91c9
7 changed files with 79 additions and 0 deletions

View file

@ -56,6 +56,18 @@
{{- end -}}
{{- end -}}
{{- with $repo := "knqyf263/pet" -}}
{{- with $version := trimPrefix "v" (gitHubLatestRelease $repo).GetTagName -}}
{{- $_ := set $externals ".local/bin/pet" (dict
"type" "archive-file"
"url" (printf "https://github.com/%s/releases/download/v%s/pet_%s_%s.tar.gz" $repo $version $version $myArch)
"path" "pet"
"executable" true
"refreshPeriod" $defaultRefresh
) -}}
{{- end -}}
{{- end -}}
{{ $myArch = "mac" }}
{{- with $repo := "extrawurst/gitui" -}}

View file

@ -0,0 +1 @@
../../../_src.posix/private_dot_config/pet/config.toml

View file

@ -0,0 +1 @@
../../../_src.posix/private_dot_config/pet/snippet.toml

View file

@ -0,0 +1 @@
../../../_src.posix/private_dot_config/sz.env/zza_pet.env