Skip to content

bash-completion package is not functional #6961

Open
@dmcilvaney

Description

@dmcilvaney

Describe the bug
The bash-completion package does not function when installed.

To Reproduce
Steps to reproduce the behavior:

run Mariner 2.0 docker container

ls -#<TAB><TAB><TAB>
 # Nothing occurs as expected

# Install package
tdnf -y install bash-completion
ls -#<TAB><TAB><TAB>
# Nothing occurs again...

# Try reloading bash
bash
ls -#<TAB><TAB><TAB>
# Still nothing

# Manually source script
source /etc/profile.d/bash_completion.sh 
ls -#<TAB><TAB><TAB>
# !!! It works!
# Should see:
# --all                                      --dereference                              --group-directories-first                  --indicator-style=                         --recursive                                --time
# --almost-all                               --dereference-command-line                 --help                                     --inode                                    --reverse                                  --time-style=
# --author                                   --dereference-command-line-symlink-to-dir  --hide-control-chars                       --kibibytes                                --show-control-chars                       --time=
# --block-size=                              --directory                                --hide=                                    --literal                                  --si                                       --version
# --classify                                 --dired                                    --human-readable                           --no-group                                 --size                                     --width=
# --color                                    --escape                                   --hyperlink                                --numeric-uid-gid                          --sort
# --color=                                   --file-type                                --ignore-backups                           --quote-name                               --sort=
# --context                                  --format=                                  --ignore=                                  --quoting-style=                           --tabsize=

Expected behavior
Installing the bash-completion package should cause tab-completes to start working without additional configuration.

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