rclone/docs/content/commands/rclone_completion_fish.md

50 lines
1.1 KiB
Markdown
Raw Normal View History

2021-11-01 16:42:05 +01:00
---
title: "rclone completion fish"
2023-06-30 15:11:17 +02:00
description: "Output fish completion script for rclone."
aliases:
- /commands/rclone_genautocomplete_fish/
2021-11-01 16:42:05 +01:00
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/completion/fish/ and as part of making a release run "make commanddocs"
---
# rclone completion fish
2023-06-30 15:11:17 +02:00
Output fish completion script for rclone.
2021-11-01 16:42:05 +01:00
## Synopsis
2023-06-30 15:11:17 +02:00
Generates a fish autocompletion script for rclone.
2022-07-09 19:08:20 +02:00
2023-06-30 15:11:17 +02:00
This writes to /etc/fish/completions/rclone.fish by default so will
probably need to be run with sudo or as root, e.g.
2021-11-01 16:42:05 +01:00
2023-06-30 15:11:17 +02:00
sudo rclone genautocomplete fish
2022-07-09 19:08:20 +02:00
2023-06-30 15:11:17 +02:00
Logout and login again to use the autocompletion scripts, or source
them directly
2021-11-01 16:42:05 +01:00
2023-06-30 15:11:17 +02:00
. /etc/fish/completions/rclone.fish
If you supply a command line argument the script will be written
there.
If output_file is "-", then the output will be written to stdout.
2021-11-01 16:42:05 +01:00
```
2023-06-30 15:11:17 +02:00
rclone completion fish [output_file] [flags]
2021-11-01 16:42:05 +01:00
```
## Options
```
2023-06-30 15:11:17 +02:00
-h, --help help for fish
2021-11-01 16:42:05 +01:00
```
2023-08-02 11:02:38 +02:00
2021-11-01 16:42:05 +01:00
See the [global flags page](/flags/) for global options not listed here.
2023-08-02 11:02:38 +02:00
# SEE ALSO
2021-11-01 16:42:05 +01:00
2023-06-30 15:11:17 +02:00
* [rclone completion](/commands/rclone_completion/) - Output completion script for a given shell.
2021-11-01 16:42:05 +01:00