support for zsh auto-completion - #983
This commit is contained in:
parent
7e93567b18
commit
f1f7e0e6f9
9 changed files with 422 additions and 52 deletions
|
@ -1,35 +1,25 @@
|
|||
---
|
||||
date: 2017-07-22T18:15:25+01:00
|
||||
date: 2017-08-20T10:49:45+02:00
|
||||
title: "rclone genautocomplete"
|
||||
slug: rclone_genautocomplete
|
||||
url: /commands/rclone_genautocomplete/
|
||||
---
|
||||
## rclone genautocomplete
|
||||
|
||||
Output bash completion script for rclone.
|
||||
Output completion script for a given shell.
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
|
||||
Generates a bash shell autocompletion script for rclone.
|
||||
Generates a shell completion script for rclone.
|
||||
Run with --help to list the supported shells.
|
||||
|
||||
This writes to /etc/bash_completion.d/rclone by default so will
|
||||
probably need to be run with sudo or as root, eg
|
||||
|
||||
sudo rclone genautocomplete
|
||||
|
||||
Logout and login again to use the autocompletion scripts, or source
|
||||
them directly
|
||||
|
||||
. /etc/bash_completion
|
||||
|
||||
If you supply a command line argument the script will be written
|
||||
there.
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
rclone genautocomplete [output_file]
|
||||
-h, --help help for genautocomplete
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
@ -126,6 +116,8 @@ rclone genautocomplete [output_file]
|
|||
```
|
||||
|
||||
### SEE ALSO
|
||||
* [rclone](/commands/rclone/) - Sync files and directories to and from local and remote object stores - v1.37
|
||||
* [rclone](/commands/rclone/) - Sync files and directories to and from local and remote object stores - v1.37-099-gb78ecb15-zsh-completion
|
||||
* [rclone genautocomplete bash](/commands/rclone_genautocomplete_bash/) - Output bash completion script for rclone.
|
||||
* [rclone genautocomplete zsh](/commands/rclone_genautocomplete_zsh/) - Output zsh completion script for rclone.
|
||||
|
||||
###### Auto generated by spf13/cobra on 22-Jul-2017
|
||||
###### Auto generated by spf13/cobra on 20-Aug-2017
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue