Skip to main content
Shell tab completions let you press Tab to auto-complete hayate subcommands, flags, and their accepted values instead of typing them out or consulting the docs. Once installed, typing hayate se<Tab> expands to hayate send, and hayate send --ha<Tab> fills in --hash. This saves time, reduces typos, and makes it easy to explore available options without leaving your terminal. hayate completions generates the appropriate script for your shell so you can source it into your session or install it permanently.

Usage

Supported shells: bash, zsh, fish, powershell, elvish

Setup instructions

Write the completion script to the standard bash-completions directory, then either restart your shell or source it immediately:
If the ~/.local/share/bash-completion/completions/ directory does not exist, create it first:
After installing a completion script to a file, you need to start a new shell session (or source the file explicitly) before tab completion takes effect. Changes to ~/.zshrc, ~/.bashrc, or your PowerShell $PROFILE are not applied to the current session automatically.