Following pipx completions guidelines for Mac ends with `command not found: compdef` failure
See original GitHub issueDescribe the bug
Following pipx completions guidelines for Mac ends with command not found: compdef
failure.
How to reproduce
% pipx completions
Follow the guidelines. Namely:
% autoload -U bashcompinit
% bashcompinit
% eval "$(register-python-argcomplete pipx)"
complete:13: command not found: compdef
Expected behavior Successfully registered autocomplete on Mac’s Zsh.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
"complete:13: command not found: compdef"…
I am new to using Terminal but I have noticed when I do open it I am always greeted with an error message...
Read more >My command line says `complete:13: command not found
I am using zsh shell. Zsh Compdef error. Compdef is basically a function used by zsh for load the auto-completions. The completion system...
Read more >Pipx installation Problem / eth-brownie installation error
when i run this command - $ pipx install eth-brownie. I'm getting this error - $ bash: pipx: command not found.
Read more >pipx — Install and Run Python Applications in Isolated ...
Shell completions are available by following the instructions printed with this command: pipx completions. For more details, see the installation ...
Read more >Mac solved command not found: compdef - Thys Michels Blog
Follow these steps to install nvm using homebrew https://www.wdiaz.org/how-to-install-nvm-with-homebrew/ Confirm echo $HOME/.nvm returns ...
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 FreeTop 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
Top GitHub Comments
Actually, after changing
bashcompinit
tocompinit
I got:Putting both
bashcompinit
andcompinit
into.zshrc
finally solved it.Nice, glad you got it working. If there are any changes or doc updates you think would be good, feel free to make a PR.