Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
mono0x committed Aug 23, 2024
1 parent 9aee0be commit d33ced8
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions src/.chezmoiexternal.toml.tmpl
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{{- $refreshPeriod := "168h" -}}

{{- $goss := "" -}}
{{- if eq .chezmoi.os "darwin" -}}
{{- $goss = "goss-darwin-amd64" -}}
{{- else if eq .chezmoi.os "linux" -}}
{{- $goss = "goss-linux-amd64" -}}
{{- else if eq .chezmoi.os "windows" -}}
{{- $goss = "goss-windows-amd64.exe" -}}
{{- end -}}
{{ $refreshPeriod := "168h" -}}

{{ $goss := "" -}}
{{ if eq .chezmoi.os "darwin" -}}
{{ $goss = "goss-darwin-amd64" -}}
{{ else if eq .chezmoi.os "linux" -}}
{{ $goss = "goss-linux-amd64" -}}
{{ else if eq .chezmoi.os "windows" -}}
{{ $goss = "goss-windows-amd64.exe" -}}
{{ end -}}

{{ if ne $goss "" -}}
["bin/goss"]
type = "file"
Expand All @@ -16,12 +17,12 @@
refreshPeriod = "{{ $refreshPeriod }}"
{{ end -}}

{{- $nvim := "" -}}
{{- if eq .chezmoi.os "windows" -}}
{{- $nvim = "AppData/Local/nvim" -}}
{{- else -}}
{{- $nvim = ".config/nvim" -}}
{{- end -}}
{{ $nvim := "" -}}
{{ if eq .chezmoi.os "windows" -}}
{{ $nvim = "AppData/Local/nvim" -}}
{{ else -}}
{{ $nvim = ".config/nvim" -}}
{{ end -}}

["{{ $nvim }}/pack/vendor/start/copilot.vim"]
type = "git-repo"
Expand Down

0 comments on commit d33ced8

Please sign in to comment.