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

fixes the instructions to enable autocompletion in zsh #5859

Merged
merged 1 commit into from
Jun 16, 2022
Merged

fixes the instructions to enable autocompletion in zsh #5859

merged 1 commit into from
Jun 16, 2022

Conversation

nbro10
Copy link
Contributor

@nbro10 nbro10 commented Jun 16, 2022

This change to the documentation fixes the instructions to enable autocompletion in zsh shells. See the description of the solution in the comment here: https://superuser.com/q/1718843.

Basically, if you add only this

fpath+=~/.zfunc
compinit

to your ~/.zshrc file, the autocompletion doesn't work and you also get an error that compinit is not a command. This happens in Mac OS Monterey (12.3.1). I am not familiar with compinit, but I assume that this commit fixes this issue for all users (it fixed it for me and the user that asked that question, at least). It's possible that this issue has been raised before (but I didn't find a duplicate yet).

Copy link
Member

@neersighted neersighted left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The assumption has been that ZSH users know how to load compinit and when it happens -- that being said, maybe that's not a safe or fair assumption 😆

Thanks!

@neersighted neersighted merged commit 63afbd3 into python-poetry:master Jun 16, 2022
@mkniewallner mkniewallner mentioned this pull request Jul 12, 2022
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants