Skip to content
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

Completion for pipenv broken #1993

Closed
IevgenSobko opened this issue Dec 10, 2021 · 0 comments · Fixed by #1994
Closed

Completion for pipenv broken #1993

IevgenSobko opened this issue Dec 10, 2021 · 0 comments · Fixed by #1994

Comments

@IevgenSobko
Copy link

IevgenSobko commented Dec 10, 2021

pipenv completion changed for some time and current bash-it completion works no more.
According to https://github.com/pypa/pipenv#shell-completion they changed way completion is generated.

Expected Behavior

pipenv completion to work

Current Behavior

on pipenv completion I see error --completion is not supported

Possible Solution

Currently, applied following in my local copy, and it works
In file completion/available/pipenv.completion.bash
replace
eval "$(pipenv --completion)"
with
eval "$(_PIPENV_COMPLETE=bash_source pipenv)"

Context

Just command autocompletion

Steps to Reproduce

  1. Make sure you enabled pipenv completion.
  2. Try to fire pipenv completion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant