zsh
Generate the autocompletion script for zsh
conhive-agent completion zsh
Description
Section titled “Description”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 <(conhive-agent completion zsh)
To load completions for every new session, execute once:
Linux:
Section titled “Linux:”conhive-agent completion zsh > "${fpath[1]}/_conhive-agent"
macOS:
Section titled “macOS:”conhive-agent completion zsh > $(brew --prefix)/share/zsh/site-functions/_conhive-agent
You will need to start a new shell for this setup to take effect.
conhive-agent completion zsh [flags]
Options
Section titled “Options” -h, --help help for zsh --no-descriptions disable completion descriptions
Options inherited from parent commands
Section titled “Options inherited from parent commands” -f, --log-format string Specify the logging format (options: console, json) (default "text") -l, --log-level string Define the logging level (options: trace, debug, info, warn, error, fatal, panic) (default "info") -o, --log-to-file Enable logging to a file (default true) -p, --port int32 Port to run the server on (default 5050) -w, --workdir string Set the working directory for agent operations (default: $HOME/.conhive)
SEE ALSO
Section titled “SEE ALSO”conhive-agent completion
- Generate the autocompletion script for the specified shell