summaryrefslogtreecommitdiff
path: root/plugins/pip/_pip
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pip/_pip')
-rw-r--r--plugins/pip/_pip4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pip/_pip b/plugins/pip/_pip
index fb8765c7e..967da48ca 100644
--- a/plugins/pip/_pip
+++ b/plugins/pip/_pip
@@ -6,8 +6,8 @@
_pip_all() {
# we cache the list of packages (originally from the macports plugin)
if (( ! $+piplist )); then
- echo -n " (caching package index...)"
- piplist=($(pip search * | cut -d ' ' -f 1 | tr '[A-Z]' '[a-z]'))
+ zsh-pip-cache-packages
+ piplist=($(cat $ZSH_PIP_CACHE_FILE))
fi
}