Shell completions
Tab-completion for bash, zsh, and fish.
verbump --completions <shell> emits a bash, zsh, or fish completion script,
or verbump --install-completions auto-detects your shell and installs it for
you.
Manual install paths
Drop the emitted script wherever your shell looks for completions:
# bash (with bash-completion installed, e.g. via Homebrew)
verbump --completions bash > "$(brew --prefix)/etc/bash_completion.d/verbump"
# zsh — any directory on $fpath works
verbump --completions zsh > "${fpath[1]}/_verbump"
# fish
verbump --completions fish > ~/.config/fish/completions/verbump.fishThen restart the shell (or compinit / source the file). You get:
- Tab-completion for every short and long flag
.jsonfile suggestions after-f/--filebash | zsh | fishsuggestions after--completions- Suppressed completion after options taking free-form arguments (so the shell
doesn't guess wrong values for
-v,-m,-p,-t,-B)