bcdock completion zsh
bcdock completion zsh¶
Generate the autocompletion script for zsh
Synopsis¶
Generate the autocompletion script for the zsh shell.
If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
To load completions in your current shell session:
source <(bcdock completion zsh)
To load completions for every new session, execute once:
Linux:¶
bcdock completion zsh > "${fpath[1]}/_bcdock"
macOS:¶
bcdock completion zsh > $(brew --prefix)/share/zsh/site-functions/_bcdock
You will need to start a new shell for this setup to take effect.
Options¶
Options inherited from parent commands¶
--api-url string API base URL (overrides BCDOCK_API_URL env var)
--no-color Disable colored output
-o, --output string Output format: table, json, csv (default "table")
-q, --quiet Suppress non-essential output
--timeout duration Request timeout (default 30s)
--token string API token (overrides BCDOCK_TOKEN env var)
SEE ALSO¶
- bcdock completion - Generate the autocompletion script for the specified shell