Skip to content
Home Assistant Bridge
Esc
↑↓navigate↵open⌘Jpreview

Shell completions

Tab completion for Home Assistant Bridge commands, aliases and flags in bash, zsh and fish.

Every package installs completions for bash, zsh and fish, so Tab completes commands, aliases and flags in a new shell.

When you install the binary yourself, generate the script for your shell:

# bash
ha-bridge --completions bash > ~/.local/share/bash-completion/completions/ha-bridge

# zsh: any directory on your $fpath
ha-bridge --completions zsh > "${fpath[1]}/_ha-bridge"

# fish
ha-bridge --completions fish > ~/.config/fish/completions/ha-bridge.fish

Completion never contacts the bridge or Home Assistant, and works before you’ve run setup. It doesn’t suggest entity names.

Last updated on October 1, 2026