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

Update Instructions for zsh in pipx completions Output #1296

Merged
merged 8 commits into from
Mar 24, 2024

Conversation

mjs271
Copy link
Contributor

@mjs271 mjs271 commented Mar 18, 2024

  • I have added a news fragment under changelog.d/ (if the patch affects the end users)

(Note: change does not affect usage by users, so I haven't added to changelog.d/)

Summary of changes

The output of pipx completions ([constants.py](https://github.com/pypa/pipx/blob/master/src/pipx/constants.py#L39):39) has been modified to reflect the current capability of argcomplete as of v3 (changelog), namely that zsh is fully supported, so there is no need for bashcompinit. However, argcomplete < v3 is accounted for by referencing the former workflow.

Additionally, I've added to the top of the output to indicate that one must first install argcomplete, if not already installed or if using zipapp. This is due to the fact that, in setting up completions for myself, I had to first install argcomplete, and am running zsh on macOS 14.4.

Test plan

N/A

Copy link
Member

@dukecat0 dukecat0 left a comment

Choose a reason for hiding this comment

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

Please add a changelog entry

src/pipx/constants.py Outdated Show resolved Hide resolved
src/pipx/constants.py Outdated Show resolved Hide resolved
src/pipx/constants.py Outdated Show resolved Hide resolved
src/pipx/constants.py Outdated Show resolved Hide resolved
chrysle
chrysle previously approved these changes Mar 21, 2024
Gitznik
Gitznik previously approved these changes Mar 22, 2024
@Gitznik Gitznik enabled auto-merge (squash) March 22, 2024 08:40
@dukecat0 dukecat0 disabled auto-merge March 22, 2024 08:59
src/pipx/constants.py Outdated Show resolved Hide resolved
@mjs271 mjs271 dismissed stale reviews from chrysle and Gitznik via 419b40e March 24, 2024 16:42
Copy link
Member

@dukecat0 dukecat0 left a comment

Choose a reason for hiding this comment

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

Thanks!

@dukecat0 dukecat0 merged commit ac70dc0 into pypa:main Mar 24, 2024
14 checks passed
@mjs271 mjs271 deleted the mjs271/update-zsh_completions branch March 24, 2024 18:32
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

Successfully merging this pull request may close these issues.

4 participants