Enable Auto Completion for pip in Zsh


Pip is a package management system for installing and managing Python software packages. To enable auto completion for pip in zsh, the documentation of pip suggests adding the following line to ~/.zshrc:

eval "`pip completion --zsh`"

However, merely having this line would not enable auto completion for pip3. To enable auto completion for pip3 as well, add the following line after the line above:

compctl -K _pip_completion pip3



Source link

READ ALSO  Erik Chelstad on ‘grinding’ at startups and how avalanche safety led to launching Observa – GeekWire
?
WP Twitter Auto Publish Powered By : XYZScripts.com