diff --git a/chezmoi.roots/_home/.chezmoiexternal.yaml.tmpl b/chezmoi.roots/_home/.chezmoiexternal.yaml.tmpl index 66d4cde..5cb9d1b 100644 --- a/chezmoi.roots/_home/.chezmoiexternal.yaml.tmpl +++ b/chezmoi.roots/_home/.chezmoiexternal.yaml.tmpl @@ -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"