Skip to content

poetry.bash-completion (brew) calls not-existing function "__ltrim_colon_completions" #3418

Closed
python-poetry/cleo
#247
@jamilraichouni

Description

  • [ x] I am on the latest Poetry version.
  • [ x] I have searched the issues of this repo and believe that this is not a duplicate.
  • [ x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: macOS Big Sur 11.0.1
  • Poetry version: 1.1.4

Issue

Hi, after

poetry completions bash > $(brew --prefix)/etc/bash_completion.d/poetry.bash-completion
source /usr/local/etc/bash_completion.d/poetry.bash-completion

and a restart of a shell I get

poetry shbash: __ltrim_colon_completions: command not found

when typing poetry sh and pressing the tab key for completion.

I looked into the file poetry.bash-completion and the code (lines 123 and 133) tries to call the not existing function __ltrim_colon_completions.

Thanks,
Jamil

Metadata

Assignees

No one assigned

    Labels

    area/cliRelated to the command linekind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions