register-python-argcomplete not available when pipx is installed via homebrew

See original GitHub issue

Describe 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
branchvincentcommented, Jun 28, 2021

with https://github.com/Homebrew/homebrew-core/pull/80156, brew install pipx now installs bash and fish completions. zsh was excluded because it requires users to manually add autoload -U bashcompinit && bashcompinit to .zshrc

3reactions
AlJohricommented, Jan 10, 2020

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found