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

ZSH Tab completion use virtualenv executables #252

Open
2 tasks done
cbcoutinho opened this issue Mar 31, 2020 · 1 comment
Open
2 tasks done

ZSH Tab completion use virtualenv executables #252

cbcoutinho opened this issue Mar 31, 2020 · 1 comment
Milestone

Comments

@cbcoutinho
Copy link

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

I commonly use poetry run <command> within a project, and it would be great if the zsh tab completion would pick up on all executables in $PATH, including the virtualenv, so that I could do:

$ poetry run py[TAB]
$ poetry run python
Python 3.7.6 (default, Jan 12 2020, 18:32:42)
[Clang 11.0.0 (clang-1100.0.33.16)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

The current implementation just completes poetry commands and files in the current directory.

@Secrus
Copy link
Member

Secrus commented May 16, 2022

Poetry completions come from cleo (https://github.com/sdispater/cleo/blob/master/cleo/commands/completions/templates.py), so it should probably be upstreamed there.

@Secrus Secrus transferred this issue from python-poetry/poetry Sep 8, 2022
@Secrus Secrus added this to the Future milestone Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants