Skip to content

Commit

Permalink
Install retry to ~/.local/bin/retry
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Apr 5, 2024
1 parent 81a8afb commit 4e9cd93
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions home/.chezmoiexternal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@
{{ $gitaliasRevision := includeTemplate "get-github-head-revision" (list "GitAlias/gitalias" $cache) }}
url: "https://github.com/GitAlias/gitalias/raw/{{ $gitaliasRevision }}/gitalias.txt"

{{ if not .is_devcontainer | or (.is_devcontainer | and (not (lookPath "retry"))) -}}
".local/bin/retry":
type: file
{{ $retryVersion := includeTemplate "get-github-latest-version" (list "kadwanev/retry" $cache) }}
url: "https://github.com/kadwanev/retry/raw/{{ $retryVersion }}/retry"
executable: true
{{- end }}

{{ if not .is_devcontainer | or (.is_devcontainer | and (not (lookPath "direnv"))) -}}
".local/bin/direnv":
type: file
Expand Down

0 comments on commit 4e9cd93

Please sign in to comment.