-
Notifications
You must be signed in to change notification settings - Fork 268
azcopy_completion_zsh
GitHub Action edited this page Feb 4, 2026
·
58 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 |
|---|---|---|---|
--await-continue |
bool | false |
Used when debugging, to tell AzCopy to await continue on stdin before starting any work. Assists with debugging AzCopy via attach-to-process |
--await-open |
bool | false |
Used when debugging, to tell AzCopy to await open on stdin, after scanning but before opening the first file. Assists with testing cases around file modifications between scanning and usage |
--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. |
--debug-skip-files |
string | `` | Used when debugging, to tell AzCopy to cancel the job midway. List of relative paths to skip in the STE. |
--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