-
Notifications
You must be signed in to change notification settings - Fork 280
azcopy_completion_zsh
GitHub Action edited this page Jul 31, 2026
·
59 revisions
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 <(azcopy completion zsh)
To load completions for every new session, execute once:
azcopy completion zsh > "${fpath[1]}/_azcopy"
azcopy completion zsh > $(brew --prefix)/share/zsh/site-functions/_azcopy
You will need to start a new shell for this setup to take effect.
azcopy completion zsh [flags]| Flag | Type | Default | Description |
|---|---|---|---|
--no-descriptions |
bool | false |
disable completion descriptions |
These options are inherited from parent commands.
| Flag | Type | Default | Description |
|---|---|---|---|
--cap-mbps |
float64 | 0 |
Caps the transfer rate, in megabits per second. Moment-by-moment throughput might vary slightly from the cap. If this option is set to zero, or it is omitted, the throughput isn't capped. |
--check-version |
bool | false |
Check if a newer AzCopy version is available. |
--log-level |
string | INFO |
Define the log verbosity for the log file, available levels: DEBUG(detailed trace), INFO(all requests/responses), WARNING(slow responses), ERROR(only failed requests), and NONE(no output logs). (default 'INFO'). |
--output-level |
string | default |
Define the output verbosity. Available levels: essential, quiet. |
--output-type |
string | text |
Format of the command's output. The choices include: text, json. The default value is 'text'. |
--trusted-microsoft-suffixes |
string | `` | Specifies additional domain suffixes where Azure Active Directory login tokens may be sent. The default is '.core.windows.net;.core.chinacloudapi.cn;.core.cloudapi.de;.core.usgovcloudapi.net;*.storage.azure.net'. Any listed here are added to the default. For security, you should only put Microsoft Azure domains here. Separate multiple entries with semi-colons. |
Parent command: azcopy completion