Update dotfiles/.local/share/chezmoi/run_once_provision, dotfiles/.local/share/chezmoi/.chezmoidata.yaml, dotfiles/.local/share/chezmoi/home/private_dot_config/slack-term/config.tmpl, dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ngrok/ngrok.yml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ghorg/conf.yaml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/himalaya/config.toml.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/npm/npmrc.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/powershell/user_profile.ps1.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/rofi/config.rasi.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/config.yaml.tmpl
Deleted dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/package-lock.json
2022-11-22 14:39:17 -08:00
|
|
|
#!/usr/bin/env zx
|
|
|
|
# Examples of /etc/os-release values https://gist.github.com/natefoo/814c5bf936922dad97ff
|
2022-11-22 16:00:56 -08:00
|
|
|
# Example fromJson with include from file https://github.com/twpayne/chezmoi/issues/1369
|
Update dotfiles/.local/share/chezmoi/run_once_provision, dotfiles/.local/share/chezmoi/.chezmoidata.yaml, dotfiles/.local/share/chezmoi/home/private_dot_config/slack-term/config.tmpl, dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ngrok/ngrok.yml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ghorg/conf.yaml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/himalaya/config.toml.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/npm/npmrc.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/powershell/user_profile.ps1.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/rofi/config.rasi.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/config.yaml.tmpl
Deleted dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/package-lock.json
2022-11-22 14:39:17 -08:00
|
|
|
|
|
|
|
{{ $packageMap := (get .installerMap $packageName) }}
|
|
|
|
{{ if (hasKey $packageMap "_deps") }}
|
|
|
|
{{ $deps := (get $packageMap "_deps") }}
|
2022-11-22 16:00:56 -08:00
|
|
|
{{ range index $deps }}
|
2022-11-22 16:30:03 -08:00
|
|
|
{{ end }}
|
Update dotfiles/.local/share/chezmoi/run_once_provision, dotfiles/.local/share/chezmoi/.chezmoidata.yaml, dotfiles/.local/share/chezmoi/home/private_dot_config/slack-term/config.tmpl, dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ngrok/ngrok.yml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ghorg/conf.yaml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/himalaya/config.toml.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/npm/npmrc.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/powershell/user_profile.ps1.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/rofi/config.rasi.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/config.yaml.tmpl
Deleted dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/package-lock.json
2022-11-22 14:39:17 -08:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if (eq .chezmoi.os "windows") }}
|
|
|
|
{{ $managers := (list "whalebrew" "choco" "scoop" "winget" "go" "cargo" "npm" "pipx" "gem" "binary") }}
|
|
|
|
|
|
|
|
{{ else if (eq .chezmoi.os "darwin") }}
|
|
|
|
{{ $managers := (list "whalebrew" "brew" "port" "go" "cargo" "npm" "pipx" "gem" "cask" "binary") }}
|
|
|
|
|
|
|
|
{{ else if (eq .chezmoi.os "freebsd") }}
|
|
|
|
{{ $managers := (list "whalebrew" "pkg" "go" "cargo" "npm" "gem") }}
|
|
|
|
|
|
|
|
{{ else if (eq .chezmoi.os "android") }}
|
|
|
|
{{ $managers := (list "apk") }}
|
|
|
|
|
2022-11-22 16:30:03 -08:00
|
|
|
{{ else if and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease "arch") }}
|
Update dotfiles/.local/share/chezmoi/run_once_provision, dotfiles/.local/share/chezmoi/.chezmoidata.yaml, dotfiles/.local/share/chezmoi/home/private_dot_config/slack-term/config.tmpl, dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ngrok/ngrok.yml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ghorg/conf.yaml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/himalaya/config.toml.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/npm/npmrc.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/powershell/user_profile.ps1.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/rofi/config.rasi.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/config.yaml.tmpl
Deleted dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/package-lock.json
2022-11-22 14:39:17 -08:00
|
|
|
{{ $managers := (list "flatpak" "snap" "whalebrew" "pacman" "brew" "yay" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
|
|
|
|
2022-11-22 16:30:03 -08:00
|
|
|
{{ else if and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease "centos") }}
|
Update dotfiles/.local/share/chezmoi/run_once_provision, dotfiles/.local/share/chezmoi/.chezmoidata.yaml, dotfiles/.local/share/chezmoi/home/private_dot_config/slack-term/config.tmpl, dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ngrok/ngrok.yml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ghorg/conf.yaml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/himalaya/config.toml.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/npm/npmrc.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/powershell/user_profile.ps1.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/rofi/config.rasi.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/config.yaml.tmpl
Deleted dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/package-lock.json
2022-11-22 14:39:17 -08:00
|
|
|
{{ $managers := (list "flatpak" "snap" "whalebrew" "dnf" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
|
|
|
|
2022-11-22 16:30:03 -08:00
|
|
|
{{ else if and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease "debian") }}
|
Update dotfiles/.local/share/chezmoi/run_once_provision, dotfiles/.local/share/chezmoi/.chezmoidata.yaml, dotfiles/.local/share/chezmoi/home/private_dot_config/slack-term/config.tmpl, dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ngrok/ngrok.yml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ghorg/conf.yaml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/himalaya/config.toml.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/npm/npmrc.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/powershell/user_profile.ps1.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/rofi/config.rasi.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/config.yaml.tmpl
Deleted dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/package-lock.json
2022-11-22 14:39:17 -08:00
|
|
|
{{ $managers := (list "flatpak" "snap" "whalebrew" "apt" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
|
|
|
|
2022-11-22 16:30:03 -08:00
|
|
|
{{ else if and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease "fedora") }}
|
Update dotfiles/.local/share/chezmoi/run_once_provision, dotfiles/.local/share/chezmoi/.chezmoidata.yaml, dotfiles/.local/share/chezmoi/home/private_dot_config/slack-term/config.tmpl, dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ngrok/ngrok.yml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ghorg/conf.yaml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/himalaya/config.toml.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/npm/npmrc.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/powershell/user_profile.ps1.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/rofi/config.rasi.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/config.yaml.tmpl
Deleted dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/package-lock.json
2022-11-22 14:39:17 -08:00
|
|
|
{{ $managers := (list "flatpak" "snap" "whalebrew" "dnf" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
|
|
|
|
2022-11-22 16:30:03 -08:00
|
|
|
{{ else if and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease "opensuse") }}
|
Update dotfiles/.local/share/chezmoi/run_once_provision, dotfiles/.local/share/chezmoi/.chezmoidata.yaml, dotfiles/.local/share/chezmoi/home/private_dot_config/slack-term/config.tmpl, dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ngrok/ngrok.yml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ghorg/conf.yaml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/himalaya/config.toml.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/npm/npmrc.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/powershell/user_profile.ps1.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/rofi/config.rasi.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/config.yaml.tmpl
Deleted dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/package-lock.json
2022-11-22 14:39:17 -08:00
|
|
|
{{ $managers := (list "flatpak" "snap" "whalebrew" "zypper" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
|
|
|
|
2022-11-22 16:30:03 -08:00
|
|
|
{{ else if and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease "ubuntu") }}
|
Update dotfiles/.local/share/chezmoi/run_once_provision, dotfiles/.local/share/chezmoi/.chezmoidata.yaml, dotfiles/.local/share/chezmoi/home/private_dot_config/slack-term/config.tmpl, dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ngrok/ngrok.yml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/ghorg/conf.yaml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/himalaya/config.toml.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/npm/npmrc.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/powershell/user_profile.ps1.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/rofi/config.rasi.tmpl.TODO, dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/config.yaml.tmpl
Deleted dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/package-lock.json
2022-11-22 14:39:17 -08:00
|
|
|
{{ $managers := (list "flatpak" "snap" "whalebrew" "apt" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|