github.com/artpar/rclone@v1.67.3/docs/content/commands/rclone_completion_zsh.md (about)

     1  ---
     2  title: "rclone completion zsh"
     3  description: "Output zsh completion script for rclone."
     4  slug: rclone_completion_zsh
     5  url: /commands/rclone_completion_zsh/
     6  # autogenerated - DO NOT EDIT, instead edit the source code in cmd/completion/zsh/ and as part of making a release run "make commanddocs"
     7  ---
     8  # rclone completion zsh
     9  
    10  Output zsh completion script for rclone.
    11  
    12  ## Synopsis
    13  
    14  
    15  Generates a zsh autocompletion script for rclone.
    16  
    17  This writes to /usr/share/zsh/vendor-completions/_rclone by default so will
    18  probably need to be run with sudo or as root, e.g.
    19  
    20      sudo rclone genautocomplete zsh
    21  
    22  Logout and login again to use the autocompletion scripts, or source
    23  them directly
    24  
    25      autoload -U compinit && compinit
    26  
    27  If you supply a command line argument the script will be written
    28  there.
    29  
    30  If output_file is "-", then the output will be written to stdout.
    31  
    32  
    33  ```
    34  rclone completion zsh [output_file] [flags]
    35  ```
    36  
    37  ## Options
    38  
    39  ```
    40    -h, --help   help for zsh
    41  ```
    42  
    43  
    44  See the [global flags page](/flags/) for global options not listed here.
    45  
    46  # SEE ALSO
    47  
    48  * [rclone completion](/commands/rclone_completion/)	 - Output completion script for a given shell.
    49