Compare commits
2 commits
20c365d7f4
...
4499e4a78d
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4499e4a78d | ||
![]() |
c92c86c8c4 |
4 changed files with 31 additions and 4 deletions
|
@ -6,7 +6,7 @@ layout {
|
|||
}
|
||||
pane command="zsh" cwd="/Users/gal.szkolnik" size="55%" {
|
||||
args "-ic" "vast-teleport launch --from-zellij"
|
||||
// start_suspended true
|
||||
start_suspended true
|
||||
}
|
||||
pane size=1 borderless=true {
|
||||
plugin location="zellij:status-bar"
|
||||
|
|
|
@ -72,6 +72,7 @@ usage-get() {
|
|||
'' \
|
||||
'Commands:' \
|
||||
' s3-releases Get release names available on s3' \
|
||||
' s3-callhome Get callhome list available on s3' \
|
||||
'' \
|
||||
''
|
||||
exit 2
|
||||
|
@ -199,6 +200,11 @@ do_get_s3-releases() {
|
|||
| sed -Ee 's/^[[:digit:]]{3}//; s/.zzz$//'
|
||||
}
|
||||
|
||||
do_get_s3-callhome() {
|
||||
# Get the list of callhome bundles
|
||||
aws s3 ls --human-readable s3://vast-callhomebundle/
|
||||
}
|
||||
|
||||
do_get() {
|
||||
local DO_CMD='usage-get'
|
||||
if [[ $# -gt 0 ]] && declare -f "do_get_${1}" > /dev/null; then
|
||||
|
|
|
@ -238,7 +238,7 @@
|
|||
"refreshPeriod" $defaultRefresh
|
||||
) -}}{{- end -}}{{- end -}}{{- end -}}
|
||||
|
||||
{{- if (not (eq .chezmoi.os "darwin")) -}}
|
||||
{{- if (or true (not (eq .chezmoi.os "darwin"))) -}}
|
||||
{{- with $app_name := "moar" -}}
|
||||
{{- with $repo := (printf "%s/%s" "walles" $app_name) -}}
|
||||
{{- with $version := (gitHubLatestRelease $repo).GetTagName -}}
|
||||
|
@ -349,6 +349,8 @@
|
|||
{{- if and (lookPath "jq") (lookPath "cargo-binstall") -}}
|
||||
{{- $path_prefix = or (get (dict "linux" "./") .chezmoi.os) "" -}}
|
||||
{{- with $app_name := "eza" -}}
|
||||
{{- with $repo := (printf "%s/%s" "eza-community" $app_name) -}}
|
||||
{{- with $version := trimPrefix "v" (gitHubLatestRelease $repo).GetTagName -}}
|
||||
{{- with $bin_url := (output "sh" "-c" (
|
||||
list
|
||||
"cargo-binstall --log-level debug --dry-run --no-track --no-confirm --json-output"
|
||||
|
@ -357,14 +359,21 @@
|
|||
| join " ") | fromJson
|
||||
).url
|
||||
-}}
|
||||
{{- with $repo := (printf "%s/%s" "eza-community" $app_name) -}}
|
||||
{{- $_ := set $externals (printf ".local/bin/%s" $app_name) (dict
|
||||
"type" "archive-file"
|
||||
"url" $bin_url
|
||||
"path" (printf "%s%s" $path_prefix $app_name)
|
||||
"executable" true
|
||||
"refreshPeriod" $defaultRefresh
|
||||
) -}}{{- end -}}{{- end -}}{{- end -}}
|
||||
) -}}
|
||||
{{- $_ := set $externals (printf ".cache/zsh/completions/_%s" $app_name) (dict
|
||||
"type" "archive-file"
|
||||
"url" (printf "https://github.com/%s/releases/download/v%s/completions-%s.tar.gz" $repo $version $version)
|
||||
"path" (printf "./target/completions-%s/_%s" $version $app_name)
|
||||
"executable" true
|
||||
"refreshPeriod" $defaultRefresh
|
||||
) -}}{{- end -}}{{- end -}}{{- end -}}{{- end -}}
|
||||
|
||||
|
||||
{{- with $app_name := "vivid" -}}
|
||||
{{- with $bin_url := (output "sh" "-c" (
|
||||
|
@ -409,6 +418,13 @@
|
|||
|
||||
{{- end }}
|
||||
|
||||
".config/nvim":
|
||||
type: "git-repo"
|
||||
url: "https://code.lksz.me/szmedia/kickstart-modular.nvim.sz.git"
|
||||
clone.args: --branch sz
|
||||
pullr.args: --autostash --rebase
|
||||
refreshPeriod: "{{ $defaultRefresh }}"
|
||||
|
||||
".config/sz.env/lib/ble.sh.curl":
|
||||
type: "archive"
|
||||
url: "https://github.com/akinomyoga/ble.sh/releases/download/nightly/ble-nightly.tar.xz"
|
||||
|
|
|
@ -3,3 +3,8 @@
|
|||
name = "vast-s3-releases"
|
||||
source_command = "vast-lab get s3-releases"
|
||||
preview_command = "aws s3 ls s3://vastdata-releases/release_bundles/service-packs/{0}/"
|
||||
|
||||
[[cable_channel]]
|
||||
name = "vast-s3-callhome"
|
||||
source_command = "vast-lab get s3-callhome"
|
||||
preview_command = "aws s3 ls s3://vast-callhomebundle/{0}/"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue