envpkt shell-hook
Generate a shell function that runs envpkt audit --format minimal whenever you cd into a directory containing envpkt.toml.
envpkt shell-hook <shell>Argument: Shell type — zsh or bash
Add to your shell configuration file:
# For zsh (~/.zshrc)eval "$(envpkt shell-hook zsh)"
# For bash (~/.bashrc)eval "$(envpkt shell-hook bash)"Behavior
Section titled “Behavior”After setup, every cd into a directory containing envpkt.toml triggers a minimal audit display showing credential health at a glance. This provides ambient awareness without requiring manual audit runs.
See the Shell Hooks integration for details.