diff options
author | Robby Russell <robby@planetargon.com> | 2013-11-16 08:51:02 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2013-11-16 08:51:02 -0800 |
commit | 06021ccad72d626bae4f5883f0cbb5d8278cc007 (patch) | |
tree | 105267d0da40733b1c4e690de82242017b9c2a6c /plugins/pip/_pip | |
parent | 72aa4ddb10b40d61bfc1817a04d4cedd10d25f7e (diff) | |
parent | 008e57aa5aec0f38445785da58a11462ef9451f9 (diff) | |
download | zsh-06021ccad72d626bae4f5883f0cbb5d8278cc007.tar.gz zsh-06021ccad72d626bae4f5883f0cbb5d8278cc007.tar.bz2 zsh-06021ccad72d626bae4f5883f0cbb5d8278cc007.zip |
Merge pull request #2209 from quodlibetor/pip-caching-fixes
pip: successfully cache all the packages
Diffstat (limited to 'plugins/pip/_pip')
-rw-r--r-- | plugins/pip/_pip | 4 |
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 } |