Skip to content

bwrb completion

Generate shell completion scripts for tab completion.

Terminal window
bwrb completion <shell>
ArgumentDescription
shellShell type: bash, zsh, fish

Add to ~/.bashrc:

Terminal window
eval "$(bwrb completion bash)"

Add to ~/.zshrc:

Terminal window
eval "$(bwrb completion zsh)"

Run once to install:

Terminal window
bwrb completion fish > ~/.config/fish/completions/bwrb.fish
ContextCompletions
bwrb <TAB>Commands: new, edit, list, open, etc.
bwrb list -<TAB>Options: --type, --path, --where, etc.
bwrb new <TAB>Types from your schema
bwrb list --type <TAB>Types from your schema
bwrb list --path <TAB>Directories in your vault
  • Completions are generated dynamically from your vault’s schema
  • Ensure BWRB_VAULT is set or run from within a vault directory
  • Restart your shell after adding the completion script