Skip to content

Shell Completions

Bivvy supports tab completions for bash, zsh, fish, and PowerShell.

Generate Completions

Bash:

Terminal window
bivvy completions bash > ~/.local/share/bash-completion/completions/bivvy

Zsh:

Terminal window
bivvy completions zsh > ~/.zfunc/_bivvy

Fish:

Terminal window
bivvy completions fish > ~/.config/fish/completions/bivvy.fish

PowerShell:

Terminal window
bivvy completions powershell >> $PROFILE

Bash Setup

Add to your ~/.bashrc:

Terminal window
if [ -f ~/.local/share/bash-completion/completions/bivvy ]; then
source ~/.local/share/bash-completion/completions/bivvy
fi

Zsh Setup

Add to your ~/.zshrc:

Terminal window
fpath=(~/.zfunc $fpath)
autoload -Uz compinit && compinit

Fish Setup

Completions are automatically loaded from ~/.config/fish/completions/.

Homebrew

If you installed via Homebrew, completions are automatically set up.