-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
poetry.bash-completion (brew) calls not-existing function "__ltrim_colon_completions" #3418
Comments
I think if you install port install bash-completion
sudo echo /opt/local/bin/bash >> /etc/shells
chsh -s /opt/local/bin/bash
mkdir -p ~/.local/share/bash-completion/completions
poetry completions bash > ~/.local/share/bash-completion/completions/poetry.bash Then I added something like this to my if [ -f /opt/local/etc/profile.d/bash_completion.sh ]; then
. /opt/local/etc/profile.d/bash_completion.sh
fi I would still advocate for providing a graceful fallback so poetry works without fail using the system shell. |
Hope it helps.
|
Same happened for me on Windows 10 with Git Bash for Windows setup. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
Hi, after
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
The text was updated successfully, but these errors were encountered: