pip: add local Python package files to completion (#7442)

This commit is contained in:
Dan D'Avella 2020-03-02 07:17:16 -05:00 committed by GitHub
parent d3dfc13716
commit e42683b8c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,6 +89,7 @@ case "$words[1]" in
if [[ "$state" == packages ]]; then
_pip_all
_wanted piplist expl 'packages' compadd -a piplist
_files -g "*.(tar.gz|whl)"
fi ;;
uninstall)
_pip_installed