-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
11,353 additions
and
4,695 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,48 @@ | ||
--- | ||
title: "rclone completion bash" | ||
description: "Generate the autocompletion script for bash" | ||
description: "Output bash completion script for rclone." | ||
slug: rclone_completion_bash | ||
url: /commands/rclone_completion_bash/ | ||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/completion/bash/ and as part of making a release run "make commanddocs" | ||
--- | ||
# rclone completion bash | ||
|
||
Generate the autocompletion script for bash | ||
Output bash completion script for rclone. | ||
|
||
## Synopsis | ||
|
||
Generate the autocompletion script for the bash shell. | ||
|
||
This script depends on the 'bash-completion' package. | ||
If it is not installed already, you can install it via your OS's package manager. | ||
Generates a bash shell autocompletion script for rclone. | ||
|
||
To load completions in your current shell session: | ||
This writes to /etc/bash_completion.d/rclone by default so will | ||
probably need to be run with sudo or as root, e.g. | ||
|
||
source <(rclone completion bash) | ||
sudo rclone genautocomplete bash | ||
|
||
To load completions for every new session, execute once: | ||
Logout and login again to use the autocompletion scripts, or source | ||
them directly | ||
|
||
### Linux: | ||
. /etc/bash_completion | ||
|
||
rclone completion bash > /etc/bash_completion.d/rclone | ||
If you supply a command line argument the script will be written | ||
there. | ||
|
||
### macOS: | ||
|
||
rclone completion bash > $(brew --prefix)/etc/bash_completion.d/rclone | ||
|
||
You will need to start a new shell for this setup to take effect. | ||
If output_file is "-", then the output will be written to stdout. | ||
|
||
|
||
``` | ||
rclone completion bash | ||
rclone completion bash [output_file] [flags] | ||
``` | ||
|
||
## Options | ||
|
||
``` | ||
-h, --help help for bash | ||
--no-descriptions disable completion descriptions | ||
-h, --help help for bash | ||
``` | ||
|
||
See the [global flags page](/flags/) for global options not listed here. | ||
|
||
## SEE ALSO | ||
|
||
* [rclone completion](/commands/rclone_completion/) - Generate the autocompletion script for the specified shell | ||
* [rclone completion](/commands/rclone_completion/) - Output completion script for a given shell. | ||
|
Oops, something went wrong.