From e42683b8c5e20ca3d9c0fde1cb748cd8c8169619 Mon Sep 17 00:00:00 2001 From: Dan D'Avella Date: Mon, 2 Mar 2020 07:17:16 -0500 Subject: [PATCH] pip: add local Python package files to completion (#7442) --- plugins/pip/_pip | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/pip/_pip b/plugins/pip/_pip index 607f68e58..a5adead4a 100644 --- a/plugins/pip/_pip +++ b/plugins/pip/_pip @@ -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