Skip to main content

ZSH Shell Completion

The Bravura Safe CLI includes support for ZSH shell completion. To set up shell completion, use one of the following methods:

Vanilla ZSH

Add the following line to your .zshrc file:

eval "$(bsafe completion --shell zsh); compdef _bsafe bsafe;"

Vanilla (vendor-completions)

Run the following command:

bsafe completion --shell zsh | sudo tee /usr/share/zsh/vendor-completions/_bsafe

zinit

Run the following commands:

bsafe completion --shell zsh > ~/.local/share/zsh/completions/_bsafe
zinit creinstall ~/.local/share/zsh/completions