summaryrefslogtreecommitdiff
path: root/plugins/pip/_pip
diff options
context:
space:
mode:
authorAtem18 <messer.kevin@gmail.com>2013-12-01 23:45:55 +0100
committerAtem18 <messer.kevin@gmail.com>2013-12-01 23:45:55 +0100
commit06bd72f842480d9556a1cc28cc340f1be7e7c79b (patch)
treebaeb90abad8afab94f0535fe8f949b1d8df591be /plugins/pip/_pip
parent84e178fa3d5e6e5bc36cb353c5c051d4f12ec35d (diff)
parent5643fac8870c2df284f1ccceab35fb1fe343fa3f (diff)
downloadzsh-06bd72f842480d9556a1cc28cc340f1be7e7c79b.tar.gz
zsh-06bd72f842480d9556a1cc28cc340f1be7e7c79b.tar.bz2
zsh-06bd72f842480d9556a1cc28cc340f1be7e7c79b.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
}