Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

ZSH Tab completion use virtualenv executables

Aperta
#252 1 commento 3 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python, zsh
Ambito
cli

Direzione di ricerca

Start by locating the zsh tab-completion implementation for poetry run and inspect how it currently completes Poetry commands and files. Done means completion also finds executables available through the project virtualenv and allows commands such as poetry run python to be selected.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
  • 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.

Lingua principale
Python
Stelle
1.4k
Fork
103
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di python-poetry/cleo

Tutte le issue di python-poetry/cleo

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.