Skip to content

Docker completion scripts should be easier to install #1257

@silvin-lubecki

Description

@silvin-lubecki

There is no simple and built-in way to install the completion scripts (see the bash script installation).

A better way would be to output the scripts with a docker command, like kubectl does:

$ docker completion bash
...
# install the zsh completion
$ echo "source <(docker completion zsh)" >> ~/.zshrc

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions