Skip to content

Commit

Permalink
Update the completion instructions for zipapp users (#1224)
Browse files Browse the repository at this point in the history
* Update the completion instructions for zipapp users

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update changelog.d/1072.doc.md

Co-authored-by: chrysle <fritzihab@posteo.de>

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: chrysle <fritzihab@posteo.de>
  • Loading branch information
3 people authored Jan 20, 2024
1 parent f409dbf commit 3ec237b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/1072.doc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update the completion instructions for zipapp users.
3 changes: 3 additions & 0 deletions src/pipx/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ def is_mingw() -> bool:

completion_instructions = dedent(
"""
If you are using zipapp, run `pipx install argcomplete` before
running any of the following commands.
Add the appropriate command to your shell's config file
so that it is run on startup. You will likely have to restart
or re-login for the autocompletion to start working.
Expand Down

0 comments on commit 3ec237b

Please sign in to comment.