Skip to content

bash completion error with shopt -s failglob #6069

@dseomn

Description

@dseomn

I have failglob set in my interactive shells, and buildah's bash completion doesn't seem to work with that. In this output from bash --norc, I pressed tab after buildah :

bash-5.2$ . /etc/bash_completion
bash-5.2$ shopt -s failglob
bash-5.2$ buildah bash: no match: @(--cgroup-manager|--registries-conf|--registries-conf-dir|--root|--runroot|--storage-driver|--storage-opt|--userns-uid-map|--userns-gid-map)
bash: [: 1: unary operator expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    jiraIssues which will be sync'd to a card at https://issues.redhat.com/projects/RUNstale-issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions