TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/logicminds/ironclaw/llms.txt
Use this file to discover all available pages before exploring further.
ironclaw completion command generates shell completion scripts that enable tab completion for IronClaw commands, subcommands, and flags.
Usage
Shell to generate completions for. Options:
bash, zsh, fish, powershell, elvishSupported Shells
Bash
Bourne Again Shell (Linux/macOS default)
Zsh
Z Shell (macOS Catalina+ default)
Fish
Friendly Interactive Shell
PowerShell
Windows PowerShell / PowerShell Core
Installation
Bash
Alternative: System-wide installation (requires sudo)
Zsh
Alternative: System-wide installation
Fish
PowerShell
What Gets Completed
Shell completions provide tab completion for:- Commands:
ironclaw run,ironclaw onboard,ironclaw config, etc. - Subcommands:
config list,tool install,mcp add, etc. - Flags:
--help,--version,--cli-only,--no-db, etc. - Options:
--shell bash,--kind tool,--filter agent, etc. - Paths: File paths for
--config,--output, etc. (shell-dependent)
Examples
Test completions
After installation, try these examples:Generate and preview
Generate completion script without installing:Temporary completion
Enable completions for current session only (no file required):Troubleshooting
Completions not working after installation
Completions not working after installation
Common issues:
- Shell not reloaded: Run
source ~/.bashrc(or~/.zshrc, etc.) - Wrong shell: Verify your current shell with
echo $SHELL - Path not in fpath (Zsh): Ensure completion directory is in
$fpathbeforecompinit - Permissions: Ensure the completion file is readable:
chmod +r ~/.ironclaw-completion.bash
Zsh completions not loading
Zsh completions not loading
For Zsh, ensure:
- The completion file is in a directory listed in
$fpath: - The file is named
_ironclaw(underscore prefix) compinitis called after adding tofpath:- Rebuild completion cache:
PowerShell execution policy blocked script
PowerShell execution policy blocked script
If PowerShell blocks the script with an execution policy error:Then reload the profile:
Completions are outdated after IronClaw update
Completions are outdated after IronClaw update
After updating IronClaw, regenerate completions to include new commands:
Pre-generated Completions
IronClaw releases include pre-generated completion scripts in the installation directory:Pre-generated completions are only available for installations via the official installer or Homebrew. Cargo installations do not include these files.
Related Commands
ironclaw --help
View all available commands and flags
Shell configuration
Installation and shell setup guide
