github.com/ncw/rclone@v1.48.1-0.20190724201158-a35aa1360e3e/docs/content/commands/rclone_genautocomplete_zsh.md (about) 1 --- 2 date: 2019-06-20T16:09:42+01:00 3 title: "rclone genautocomplete zsh" 4 slug: rclone_genautocomplete_zsh 5 url: /commands/rclone_genautocomplete_zsh/ 6 --- 7 ## rclone genautocomplete zsh 8 9 Output zsh completion script for rclone. 10 11 ### Synopsis 12 13 14 Generates a zsh autocompletion script for rclone. 15 16 This writes to /usr/share/zsh/vendor-completions/_rclone by default so will 17 probably need to be run with sudo or as root, eg 18 19 sudo rclone genautocomplete zsh 20 21 Logout and login again to use the autocompletion scripts, or source 22 them directly 23 24 autoload -U compinit && compinit 25 26 If you supply a command line argument the script will be written 27 there. 28 29 30 ``` 31 rclone genautocomplete zsh [output_file] [flags] 32 ``` 33 34 ### Options 35 36 ``` 37 -h, --help help for zsh 38 ``` 39 40 See the [global flags page](/flags/) for global options not listed here. 41 42 ### SEE ALSO 43 44 * [rclone genautocomplete](/commands/rclone_genautocomplete/) - Output completion script for a given shell. 45