summaryrefslogtreecommitdiff
path: root/plugins/pip/_pip
diff options
context:
space:
mode:
authorAmila Perera <perera.amila@gmail.com>2013-11-23 10:33:30 +0530
committerAmila Perera <perera.amila@gmail.com>2013-11-23 10:33:30 +0530
commit27d048aa5729dfb9fa8119bc8ed4abb61619d7ea (patch)
tree61cc1d756677109ccbc5c45893e0b9a2dab96387 /plugins/pip/_pip
parent4e7b0fe083ecc99c1ea8c250d8b9cfcde09f2cd3 (diff)
parent9f5a895192b7d6b75ba717ef4e2c9b6ed7977c68 (diff)
downloadzsh-27d048aa5729dfb9fa8119bc8ed4abb61619d7ea.tar.gz
zsh-27d048aa5729dfb9fa8119bc8ed4abb61619d7ea.tar.bz2
zsh-27d048aa5729dfb9fa8119bc8ed4abb61619d7ea.zip
Merge remote-tracking branch 'upstream/master'
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
}