Skip to content

Cargo command shorthands don't have bash completion #9086

@relrelb

Description

@relrelb

Problem
Currently cargo has bash completion for most (if not all) builtin commands such as build, run, check etc.
However, it doesn't have bash completion for the short forms of these commands, such as b, r, c etc.

Steps

  1. In bash, type cargo build <tab>. Some completions should appear.
  2. Now type cargo b <tab>. This time no completions appear.

Possible Solution(s)
I expect the exact same completions to appear also for command shorthands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-completionsArea: shell completionsC-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions