register-python-argcomplete not available when pipx is installed via homebrew
See original GitHub issueDescribe the bug
pipx completions cannot be enabled when pipx is installed via homebrew because the command register-python-argcomplete is not available.
How to reproduce
$ brew install pipx
$ eval "$(register-python-argcomplete pipx)"
-bash: register-python-argcomplete: command not found
Expected behavior
eval "$(register-python-argcomplete pipx)" completes without errors and pipx autocomplete works.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:13 (8 by maintainers)
Top Results From Across the Web
register-python-argcomplete not available when pipx ... - GitHub
pipx completions cannot be enabled when pipx is installed via homebrew because the command register-python-argcomplete is not available.
Read more >register-python-argcomplete not available when pipx is ...
pipx completions cannot be enabled when pipx is installed via homebrew because the command register-python-argcomplete is not available.
Read more >argcomplete - PyPI
Argcomplete provides easy, extensible command line tab completion of arguments for your Python script. It makes two assumptions: You're using bash as your...
Read more >Changelog - pipx - GitHub Pages
Fixed pipx list output phrasing to convey that python version displayed is the one with which package was installed. Fixed pipx install to...
Read more >Python3 unable to import argcomplete package - Stack Overflow
The problem is that python 2.7 is the default for mac so installing packages via terminal will only install them on python 2.7....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
with https://github.com/Homebrew/homebrew-core/pull/80156,
brew install pipxnow installsbashandfishcompletions.zshwas excluded because it requires users to manually addautoload -U bashcompinit && bashcompinitto.zshrc@itsayellow you can thank @chenrui333 who’s been maintaining it!
And yes there is a homebrew location for completions. I’ll look into it and make a PR.