Skip to content

azcopy_completion_zsh

GitHub Action edited this page Nov 10, 2025 · 55 revisions

azcopy 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 <(azcopy completion zsh)

To load completions for every new session, execute once:

Linux:

azcopy completion zsh > "${fpath[1]}/_azcopy"

macOS:

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]

Options

  -h, --help              help for zsh
      --no-descriptions   disable completion descriptions

Options inherited from parent commands

      --await-continue continue             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 open                     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 float                      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                       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                    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'). (default "INFO")
      --output-level string                 Define the output verbosity. Available levels: essential, quiet. (default "default")
      --output-type string                  Format of the command's output. The choices include: text, json. 
                                             The default value is 'text'. (default "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.

SEE ALSO

Auto generated by spf13/cobra on 10-Nov-2025
Clone this wiki locally