vibepg completions
Synopsis
bash
vibepg completions <shell>Description
Print a shell completion script to stdout. Redirect it to wherever your shell expects completions to live, then start a new shell.
Arguments
| Name | Required | Description |
|---|---|---|
shell | yes | One of bash, zsh, fish, powershell, elvish |
Options
None.
Examples
bash
# bash
vibepg completions bash > /usr/local/etc/bash_completion.d/vibepg
# zsh — first directory in your $fpath
vibepg completions zsh > "${fpath[1]}/_vibepg"
# fish
vibepg completions fish > ~/.config/fish/completions/vibepg.fishpowershell
# PowerShell — append to your profile
vibepg completions powershell >> $PROFILEbash
# elvish
vibepg completions elvish > ~/.config/elvish/lib/vibepg-completions.elvNotes
- The completion script is regenerated from the live CLI definitions, so it always matches the version of vibepg you have installed. Re-run after upgrades.
- See the Shell Completions guide for full setup and troubleshooting.