diff --git a/dotfiles/.local/share/chezmoi/home/private_dot_config/asdf/asdfrc.tmpl b/dotfiles/.local/share/chezmoi/home/private_dot_config/asdf/asdfrc.tmpl index d6720c1e..53d3974b 100644 --- a/dotfiles/.local/share/chezmoi/home/private_dot_config/asdf/asdfrc.tmpl +++ b/dotfiles/.local/share/chezmoi/home/private_dot_config/asdf/asdfrc.tmpl @@ -4,6 +4,6 @@ legacy_version_file = yes # Use release candidate rather than latest semantic version use_release_candidates = yes -{{ if (eq .chezmoi.os "darwin") and (not .host.restricted) -}} +{{ if and (eq .chezmoi.os "darwin") (not .host.restricted) -}} java_macos_integration_enable = yes {{ end -}} diff --git a/dotfiles/.local/share/chezmoi/run_once_provision b/dotfiles/.local/share/chezmoi/run_once_provision index 3fe6dfc7..3ff406e8 100644 --- a/dotfiles/.local/share/chezmoi/run_once_provision +++ b/dotfiles/.local/share/chezmoi/run_once_provision @@ -6,7 +6,7 @@ {{ if (hasKey $packageMap "_deps") }} {{ $deps := (get $packageMap "_deps") }} {{ range index $deps }} -{{ }} +{{ end }} {{ end }} {{ if (eq .chezmoi.os "windows") }} @@ -21,22 +21,22 @@ {{ else if (eq .chezmoi.os "android") }} {{ $managers := (list "apk") }} -{{ else if (eq .chezmoi.os "linux") and (eq .chezmoi.osRelease "arch") }} +{{ else if and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease "arch") }} {{ $managers := (list "flatpak" "snap" "whalebrew" "pacman" "brew" "yay" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }} -{{ else if (eq .chezmoi.os "linux") and (eq .chezmoi.osRelease "centos") }} +{{ else if and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease "centos") }} {{ $managers := (list "flatpak" "snap" "whalebrew" "dnf" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }} -{{ else if (eq .chezmoi.os "linux") and (eq .chezmoi.osRelease "debian") }} +{{ else if and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease "debian") }} {{ $managers := (list "flatpak" "snap" "whalebrew" "apt" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }} -{{ else if (eq .chezmoi.os "linux") and (eq .chezmoi.osRelease "fedora") }} +{{ else if and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease "fedora") }} {{ $managers := (list "flatpak" "snap" "whalebrew" "dnf" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }} -{{ else if (eq .chezmoi.os "linux") and (eq .chezmoi.osRelease "opensuse") }} +{{ else if and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease "opensuse") }} {{ $managers := (list "flatpak" "snap" "whalebrew" "zypper" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }} -{{ else if (eq .chezmoi.os "linux") and (eq .chezmoi.osRelease "ubuntu") }} +{{ else if and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease "ubuntu") }} {{ $managers := (list "flatpak" "snap" "whalebrew" "apt" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }} {{ end }}