fnox activate
- Usage:
fnox activate [--no-hook-env] [SHELL]
Output shell activation code to enable automatic secret loading
Arguments
[SHELL]— Shell to generate activation code for (bash, zsh, fish, nu, pwsh)
Flags
--no-hook-env— Don't automatically invoke hook-env (for testing)-h --help— Print help
Examples
Enable the hook for your shell. Fish, Nushell, and PowerShell use different activation syntax; follow the shell guide for those commands.
sh
eval "$(fnox activate bash)"
# Zsh:
eval "$(fnox activate zsh)"Related
- Shell integration
- Global options, including profile selection and non-interactive mode.