Add pet snippet management
This commit is contained in:
parent
58e921ac4c
commit
20555a91c9
7 changed files with 79 additions and 0 deletions
|
@ -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" -}}
|
||||
|
|
1
_home.macos/private_dot_config/pet/config.toml
Symbolic link
1
_home.macos/private_dot_config/pet/config.toml
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../_src.posix/private_dot_config/pet/config.toml
|
1
_home.macos/private_dot_config/pet/snippet.toml
Symbolic link
1
_home.macos/private_dot_config/pet/snippet.toml
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../_src.posix/private_dot_config/pet/snippet.toml
|
1
_home.macos/private_dot_config/sz.env/zza_pet.env
Symbolic link
1
_home.macos/private_dot_config/sz.env/zza_pet.env
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../_src.posix/private_dot_config/sz.env/zza_pet.env
|
Loading…
Add table
Add a link
Reference in a new issue