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  Here's why SoftBank didn't let WeWork go bankrupt or take another deal
?
WP Twitter Auto Publish Powered By : XYZScripts.com