zenops 0.18.0

Declarative system configuration management for shell config and dotfiles.
Documentation
[pkg.brew-linux]
enable = "detect"
name = "brew"
when = "linux"
description = "Homebrew shellenv initialization (Linux convention: interactive shells)."

[pkg.brew-linux.install_hint.brew]
packages = []

# Homebrew itself isn't installable via the system package manager on
# either Fedora or Ubuntu. Users who want brew on Linux should follow
# brew.sh's installer; once brew is on PATH the pkg's `detect` matches
# and shell init fires.
[pkg.brew-linux.install_hint.dnf5]
packages = []

[pkg.brew-linux.install_hint.apt]
packages = []

[pkg.brew-linux.install_hint.pacman]
packages = []
[pkg.brew-linux.install_hint.cargo]
packages = []

[pkg.brew-linux.detect]
exists = "${brew_prefix}/bin/brew"

[[pkg.brew-linux.shell.env_init.bash]]
type = "comment"
text = "Homebrew environment (PATH, MANPATH, INFOPATH)"

[[pkg.brew-linux.shell.env_init.bash]]
type = "eval_output"
command = ["${brew_prefix}/bin/brew", "shellenv", "bash"]

[[pkg.brew-linux.shell.interactive_init.zsh]]
type = "comment"
text = "Homebrew environment (PATH, MANPATH, INFOPATH, fpath)"

[[pkg.brew-linux.shell.interactive_init.zsh]]
type = "eval_output"
command = ["${brew_prefix}/bin/brew", "shellenv", "zsh"]