Skip to content

Clashes with gcloud bash/zsh completion _python_argcomplete() #310

@pdecat

Description

@pdecat

Hi,

the _python_argcomplete() shell function defined by Google's gcloud SDK completion is clashing with the one defined by argcomplete: https://issuetracker.google.com/issues/147687442#comment12

A work-around is to patch the gcloud defined function to suffix it and avoid the clash, but that needs to be done on each update:

sudo sed -i.orig 's/_python_argcomplete/_python_argcomplete_gcloud/g' /usr/lib/google-cloud-sdk/completion.bash.inc

I'm basically looking for alternative solutions to definitively fix the issue. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions