zenops 0.18.0

Declarative system configuration management for shell config and dotfiles.
Documentation
#
# Homebrew Python — PATH append for brew-installed python
#

[pkg.brew-python]
enable = "detect"
description = "Homebrew Python — prepends libexec/bin to PATH so `python` resolves to the brew copy."

[pkg.brew-python.install_hint.brew]
packages = ["python"]

# Brew-bound: detect and shell init key off `${brew_prefix}/opt/python`, so
# system python3 wouldn't satisfy the pkg. Both Fedora and Ubuntu ship
# python3 by default anyway — no zenops pkg needed.
[pkg.brew-python.install_hint.dnf5]
packages = []

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

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

[pkg.brew-python.detect]
exists = "${brew_prefix}/opt/python"

[[pkg.brew-python.shell.env_init.bash]]
type = "comment"
text = "Homebrew Python (brew-managed)"

[[pkg.brew-python.shell.env_init.bash]]
type = "path_append"
value = "${brew_prefix}/opt/python/libexec/bin"

[[pkg.brew-python.shell.env_init.zsh]]
type = "comment"
text = "Homebrew Python (brew-managed)"

[[pkg.brew-python.shell.env_init.zsh]]
type = "path_append"
value = "${brew_prefix}/opt/python/libexec/bin"