Skip to content

[Bug]: Completions suggested by the install script don't work on Linux #345

Description

@tredondo

What happened?

On Linux, the install script ends by recommending running two commands to install completions:

container-use completion bash > /usr/local/etc/bash_completion.d/container-use
container-use completion --command-name=cu bash > /usr/local/etc/bash_completion.d/cu

/usr/local/etc/bash_completion.d doesn't exist on Linux; that's the standard for macOS

Version

https://raw.githubusercontent.com/dagger/container-use/main/install.sh

Logs

$ container-use completion bash > /usr/local/etc/bash_^Cmpletion.d/container-use
bash: /usr/local/etc/bash_^Cmpletion.d/container-use: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions