mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 15:30:40 +01:00
pip: add local Python package files to completion (#7442)
This commit is contained in:
@@ -89,6 +89,7 @@ case "$words[1]" in
|
|||||||
if [[ "$state" == packages ]]; then
|
if [[ "$state" == packages ]]; then
|
||||||
_pip_all
|
_pip_all
|
||||||
_wanted piplist expl 'packages' compadd -a piplist
|
_wanted piplist expl 'packages' compadd -a piplist
|
||||||
|
_files -g "*.(tar.gz|whl)"
|
||||||
fi ;;
|
fi ;;
|
||||||
uninstall)
|
uninstall)
|
||||||
_pip_installed
|
_pip_installed
|
||||||
|
|||||||
Reference in New Issue
Block a user