Generate the autocompletion script for zsh
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 <(azldev completion zsh)
To load completions for every new session, execute once:
azldev completion zsh > "${fpath[1]}/_azldev"
azldev completion zsh > $(brew --prefix)/share/zsh/site-functions/_azldev
You will need to start a new shell for this setup to take effect.
azldev completion zsh [flags]
-h, --help help for zsh
--no-descriptions disable completion descriptions
-y, --accept-all accept all prompts
--color mode output colorization mode {always, auto, never} (default auto)
--config-file stringArray additional TOML config file(s) to merge (may be repeated)
-n, --dry-run dry run only (do not take action)
--network-retries int maximum number of attempts for network operations (minimum 1) (default 3)
--no-default-config disable default configuration
-O, --output-format fmt output format {csv, json, markdown, table} (default table)
--permissive-config do not fail on unknown fields in TOML config files
-C, --project string path to Azure Linux project
-q, --quiet only enable minimal output
-v, --verbose enable verbose output
- azldev completion - Generate the autocompletion script for the specified shell