From a69ddda8306ce0f7f7c8a33f037c3ae7444735aa Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Wed, 23 Nov 2022 00:30:03 +0000 Subject: [PATCH] Update dotfiles/.local/share/chezmoi/home/private_dot_config/asdf/asdfrc.tmpl, dotfiles/.local/share/chezmoi/run_once_provision --- .../home/private_dot_config/asdf/asdfrc.tmpl | 2 +- dotfiles/.local/share/chezmoi/run_once_provision | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) 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 }}