Skip to content

Bash Completion in Docker Container #26

@ghost

Description

I'm trying to setup a VSCode dev container with dbt and dbt-bash-completion But I can't get it working.

You can reproduce it by running: docker run -it --rm python:3.13-slim bash

And inside the docker container:

apt update
apt install curl
pip install dbt-core
curl https://raw.githubusercontent.com/fishtown-analytics/dbt-completion.bash/master/dbt-completion.bash > ~/.dbt-completion.bash
source ~/.dbt-completion.bash

When double tabbing it will just do nothing.

I made sure that bash-completion works by installing:

apt install bash-completion -y
$ dd 
--help     --version  bs=        cbs=       conv=      count=     ibs=       if=        iflag=     obs=       of=        oflag=     seek=      skip=      status=

Or am I missing something obvious?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions