github.com/10XDev/rclone@v1.52.3-0.20200626220027-16af9ab76b2a/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, eg 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 31 ``` 32 rclone genautocomplete zsh [output_file] [flags] 33 ``` 34 35 ## Options 36 37 ``` 38 -h, --help help for zsh 39 ``` 40 41 See the [global flags page](/flags/) for global options not listed here. 42 43 ## SEE ALSO 44 45 * [rclone genautocomplete](/commands/rclone_genautocomplete/) - Output completion script for a given shell. 46