github.com/artpar/rclone@v1.67.3/docs/content/commands/rclone_genautocomplete_zsh.md (about) 1 --- 2 title: "rclone genautocomplete zsh" 3 description: "Output zsh completion script for rclone." 4 slug: rclone_genautocomplete_zsh 5 url: /commands/rclone_genautocomplete_zsh/ 6 # autogenerated - DO NOT EDIT, instead edit the source code in cmd/genautocomplete/zsh/ and as part of making a release run "make commanddocs" 7 --- 8 # rclone genautocomplete 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 genautocomplete zsh [output_file] [flags] 35 ``` 36 37 # Options 38 39 ``` 40 -h, --help help for zsh 41 ``` 42 43 See the [global flags page](/flags/) for global options not listed here. 44 45 # SEE ALSO 46 47 * [rclone genautocomplete](/commands/rclone_genautocomplete/) - Output completion script for a given shell. 48