Back to Commands
Quick Starthermes completion

hermes completion Command — Complete Reference & Examples

Complete reference for hermes completion: generate shell completion scripts for bash, zsh, and fish to enable tab-completion for all hermes commands and flags.

July 27, 2026

Overview

hermes completion emits a shell completion script for bash, zsh, or fish. Once sourced or installed, you can press Tab to complete hermes commands, subcommands, and flags.

hermes completion [-h] [{bash,zsh,fish}]

Shells

Shell Description
bash Generate a completion script for Bash (default).
zsh Generate a completion script for Zsh.
fish Generate a completion script for Fish.

Common Scenarios

Bash

hermes completion bash > ~/.hermes-completion.bash
echo "source ~/.hermes-completion.bash" >> ~/.bashrc
source ~/.bashrc

Zsh

hermes completion zsh > ~/.hermes-completion.zsh
echo "source ~/.hermes-completion.zsh" >> ~/.zshrc

Fish

hermes completion fish > ~/.config/fish/completions/hermes.fish

One-shot use without saving

source <(hermes completion bash)

Tips

  • Regenerate completions after updating Hermes to include any new commands or flags.
  • The completion script is stateless, so you can safely source it at any time.
  • For system-wide Bash completion, redirect to /etc/bash_completion.d/hermes if you have write access.

Explore All Commands

Browse the full command reference with search and category filters.

Back to Commands