-
-
Notifications
You must be signed in to change notification settings - Fork 93
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 zsh completion is missing 'self ...' and some others #360
Milestone
Comments
Ok, I think I got it fixed, simply remove the single quotes around e.g. coms+=("about:Shows information about Poetry." "add:Adds a new dependency to pyproject.toml." "build:Builds a package, as a tarball and a wheel by default." "cache clear:Clears a Poetry cache by name." "cache list:List Poetry\'s caches." "check:Checks the validity of the pyproject.toml file." "config:Manages configuration settings." "debug info:Shows debug information." "debug resolve:Debugs dependency resolution." "env info:Displays information about the current environment." "env list:Lists all virtualenvs associated with the current project." "env remove:Remove virtual environments associated with the project." "env use:Activates or creates a new virtualenv for the current project." "export:Exports the lock file to alternative formats." "help:Displays help for a command." "init:Creates a basic pyproject.toml file in the current directory." "install:Installs the project dependencies." "list:Lists commands." "lock:Locks the project dependencies." "new:Creates a new Python project at <path\>." "publish:Publishes a package to a remote repository." "remove:Removes a package from the project dependencies." "run:Runs a command in the appropriate environment." "search:Searches for packages on remote repositories." "self add:Add additional packages to Poetry\'s runtime environment." "self install:Install locked packages \(incl. addons\) required by this Poetry installation." "self lock:Lock the Poetry installation\'s system requirements." "self remove:Remove additional packages from Poetry\'s runtime environment." "self show:Show packages from Poetry\'s runtime environment." "self show plugins:Shows information about the currently installed plugins." "self update:Updates Poetry to the latest version." "shell:Spawns a shell within the virtual environment." "show:Shows information about packages." "source add:Add source configuration for project." "source remove:Remove source configured for the project." "source show:Show information about sources configured for the project." "update:Update the dependencies as according to the pyproject.toml file." "version:Shows the version of the project or bumps it when a valid bump rule is provided.") Shall I do a PR? |
you want to be in the cleo repository, that's what poetry uses for command line matters #153 (comment) promises a coming refactor, I've no idea whether that's actually happening or not |
Hi, same problem here |
Anyway, I did a PR for this case. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1.4.0
3.9.16
Any OS, tested with mac and linux
-vvv
option) and have included the output below.Issue
I'm not sure which poetry version lost it (centainly 1.3.2 and 1.4.0 has the issue) but I have an old
$ZSH_CUSTOM/plugins/poetry/_poetry
where TAB inpoetry s...
, shows:While, the updated one shows:
search -- Searches for packages on remote repositories. shell -- Spawns a shell within the virtual environment. show -- Shows information about packages.
The old
_poetry
(working autocompletion forself, env, cache ...
etc.):The text was updated successfully, but these errors were encountered: