Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#65040 - Generate shell completions for cargo in rustup package

Attached to Project: Community Packages
Opened by Xinkai Chen (Xinkai) - Saturday, 04 January 2020, 07:09 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 23 February 2020, 15:25 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The package `rustup` should generate shell completions for `cargo`. Currently, only the completion files for `rustup` command is generated.

From the `rustup completions` command:

CARGO:

Rustup can also generate a completion script for `cargo`. The script output
by `rustup` will source the completion script distributed with your default
toolchain. Not all shells are currently supported. Here are examples for
the currently supported shells.

BASH:

$ rustup completions bash cargo >> ~/.local/share/bash-completion/completions/cargo

ZSH:

$ rustup completions zsh cargo > ~/.zfunc/_cargo

Additional info:
* package version(s): 1.20.2-1
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 23 February 2020, 15:25 GMT
Reason for closing:  Implemented

Loading...